mercurial/cext/bdiff.pyi
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 06 Jan 2023 12:16:04 -0500
branchstable
changeset 49632 05b329cbd23d
parent 46042 8dca9051a859
child 49731 b8389533ba3a
permissions -rw-r--r--
convert: stop passing str to the dateutil API in darcs I'm sure there's a bunch more stuff in here that's broken, but this was flagged by pytype.

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