mercurial/cext/mpatch.pyi
author Gregory Szorc <gregory.szorc@gmail.com>
Sun, 20 Feb 2022 15:40:39 -0700
changeset 48810 ed03fffaac30
parent 46038 8dca9051a859
permissions -rw-r--r--
cext: remove Python 2 module initializer functions We no longer need these since we dropped support for Python 2. Differential Revision: https://phab.mercurial-scm.org/D12221

from typing import (
    List,
)

version: int

class mpatchError(Exception): ...

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