mercurial/cext/mpatch.pyi
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 20 Jan 2022 16:16:05 -0800
changeset 48608 fd9fe2658cda
parent 46042 8dca9051a859
permissions -rw-r--r--
filemerge: pass `simplemerge.MergeInput` to tool functions Differential Revision: https://phab.mercurial-scm.org/D12018

from typing import (
    List,
)

version: int

class mpatchError(Exception): ...

def patches(text: bytes, bins: List[bytes]) -> bytes: ...
def patchedsize(orig: int, data: bytes) -> int: ...