view mercurial/cext/bdiff.pyi @ 50053:5327ae76b740

dirstate: use `dirstate.change_files` to scope the change in `unshelve` This is the way.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 15 Dec 2022 03:04:58 +0100
parents b8389533ba3a
children
line wrap: on
line source

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