##// END OF EJS Templates
typing: add some trivial type hints to `mercurial/match.py`...
typing: add some trivial type hints to `mercurial/match.py` These were new methods since hg 3dbc7b1ecaba, but surprisingly pytype couldn't figure them out.

File last commit:

r50491:b8389533 default
r52568:bc94cbb4 default
Show More
bdiff.pyi
12 lines | 348 B | text/x-python | PythonLexer
from typing import (
List,
Tuple,
)
version: int
def bdiff(a: bytes, b: bytes) -> bytes: ...
def blocks(a: bytes, b: bytes) -> List[Tuple[int, int, int, int]]: ...
def fixws(s: bytes, allws: bool) -> bytes: ...
def splitnewlines(text: bytes) -> List[bytes]: ...
def xdiffblocks(a: bytes, b: bytes) -> List[Tuple[int, int, int, int]]: ...