mercurial/cext/bdiff.pyi
author Raphaël Gomès <rgomes@octobus.net>
Mon, 11 Jul 2022 17:44:03 +0200
changeset 49480 0199712c7a6d
parent 46038 8dca9051a859
child 49596 b8389533ba3a
permissions -rw-r--r--
rhg: fallback in `debugdata` if repo has `narrow` Narrow uses ellipsis nodes and debugdata does not understand them yet.

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]]: ...