view mercurial/cext/bdiff.pyi @ 52220:d237fdd93eb9 stable tip

relnotes: fix 6.9rc1 I forgot to remove a bunch of tempate stuff.
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 14 Nov 2024 16:44:32 +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]]: ...