mercurial/cext/mpatch.pyi
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 09 Oct 2023 15:12:16 +0200
changeset 51300 83c6dceeb10d
parent 46042 8dca9051a859
permissions -rw-r--r--
usage: add configuration option to adjust resources usage They currently do nothing, but this open the way to actually use them.

from typing import (
    List,
)

version: int

class mpatchError(Exception): ...

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