mercurial/cext/mpatch.pyi
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sat, 03 Jul 2021 04:26:28 +0200
changeset 47514 559aee84b889
parent 46038 8dca9051a859
permissions -rw-r--r--
dirstate-entry: add a `from_p2` property Lets start to define and use more semantic property. Differential Revision: https://phab.mercurial-scm.org/D10956

from typing import (
    List,
)

version: int

class mpatchError(Exception): ...

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