mercurial/cext/mpatch.pyi
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 28 Jan 2022 14:23:37 +0100
changeset 48698 937998e43e93
parent 46038 8dca9051a859
permissions -rw-r--r--
merge: break up a not-so-one-liner for readability Differential Revision: https://phab.mercurial-scm.org/D12101

from typing import (
    List,
)

version: int

class mpatchError(Exception): ...

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