Mercurial > hg
view mercurial/cext/mpatch.pyi @ 48673:576040155dba
arbitraryfilectx: use our existing helpers for reading and writing files
Differential Revision: https://phab.mercurial-scm.org/D12090
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 26 Jan 2022 15:32:18 -0800 |
parents | 8dca9051a859 |
children |
line wrap: on
line source
from typing import ( List, ) version: int class mpatchError(Exception): ... def patches(text: bytes, bins: List[bytes]) -> bytes: ... def patchedsize(orig: int, data: bytes) -> int: ...