##// END OF EJS Templates
branchcache: pass a "verify_node" attribut to __init__ instead of hasnode...
branchcache: pass a "verify_node" attribut to __init__ instead of hasnode The hasnode callback cannot be inherited and is dropped on copy, which seems like a bad idea. Instead we pass the actual semantic as a parameter and let the internal logic deal with it.

File last commit:

r46652:8dca9051 default
r52345:55158761 default
Show More
mpatch.pyi
10 lines | 193 B | text/x-python | PythonLexer
from typing import (
List,
)
version: int
class mpatchError(Exception): ...
def patches(text: bytes, bins: List[bytes]) -> bytes: ...
def patchedsize(orig: int, data: bytes) -> int: ...