view mercurial/cext/mpatch.pyi @ 49905:cd125eef4388

tests: check how hgweb handles HEAD requests This test file is loosely based on test-hgweb.t. HEAD support originally implemented in fda5a4b853ab.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 11 Jan 2023 17:51:04 +0400
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: ...