mercurial/cext/bdiff.pyi
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 03 Jun 2022 17:18:46 +0200
branchstable
changeset 49276 3b102efde517
parent 46038 8dca9051a859
child 49596 b8389533ba3a
permissions -rw-r--r--
revset: fix the doc of "nodefromfile" This should maybe be called "nodesfromfile", but at least the documentation is correct (it was previously a copy past from follow).

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