view mercurial/cext/mpatch.pyi @ 49710:30ac702a7488

path: pass `path` to `peer` in `hg summary` We directly use the `path` object to build the `peer` object.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 01 Dec 2022 02:11:21 +0100
parents 8dca9051a859
children
line wrap: on
line source

from typing import (
    List,
)

version: int

class mpatchError(Exception): ...

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