mercurial/cext/mpatch.pyi
author Raphaël Gomès <rgomes@octobus.net>
Wed, 03 Mar 2021 12:37:13 +0100
changeset 46638 b4c2a2af25e2
parent 46038 8dca9051a859
permissions -rw-r--r--
requirements: also add a fncache constant Continue the cleanup to the remaining requirements Differential Revision: https://phab.mercurial-scm.org/D10109

from typing import (
    List,
)

version: int

class mpatchError(Exception): ...

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