view mercurial/cext/mpatch.pyi @ 51710:8fe7c0e1df1e

dummysmtpd: fix EOF handling on newer versions of OpenSSL Explanations inline.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 22 Jul 2024 14:42:54 +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: ...