Mercurial > hg
view mercurial/cext/bdiff.pyi @ 47426:cac0e0621ceb
revlog: use file read caching for sidedata
The previous changeset extracted this caching logic from the revlog class into
a new class. Adding a new instance of that class allows using the same logic
for side data.
Differential Revision: https://phab.mercurial-scm.org/D10879
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Tue, 15 Jun 2021 12:34:14 +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]]: ...