view mercurial/cext/mpatch.pyi @ 50654:bfb6404089a5 stable

delta-find: gather the condition to blindly use a full snapshot together We are about to make the `if` body bigger, so having only one of them is simpler/
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 08 Jun 2023 03:11:51 +0200
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: ...