mercurial/cext/mpatch.pyi
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 30 Aug 2023 14:38:30 +0200
changeset 50899 d28cc52e2c0f
parent 46038 8dca9051a859
permissions -rw-r--r--
relink: use sysstr to check for attribute presence We do not need bytes here.

from typing import (
    List,
)

version: int

class mpatchError(Exception): ...

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