Mercurial > hg
view mercurial/cext/bdiff.pyi @ 48221:a32a96079e2d
dirstate-v2: initial Python parser
The dirstate-v2 file format should be supported even if Rust extensions are
not enabled. This changeset adds parsing code that is not used yet.
Differential Revision: https://phab.mercurial-scm.org/D11518
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Sun, 03 Oct 2021 13:18:03 +0200 |
parents | 8dca9051a859 |
children | b8389533ba3a |
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]]: ...