view mercurial/cext/bdiff.pyi @ 50651:d1dc4a03125e stable

delta-find: intrduce a `_one_dbg_data` method This helps with the initialisation of the expected debug information.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 08 Jun 2023 02:35:03 +0200
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]]: ...