view mercurial/cext/mpatch.pyi @ 51917:1d6982827c4b

rust: fix the deprecation warning in NaiveDateTime::from_timestamp This warning appears between chrono 0.4.34 and 0.4.38, so isn't affecting the current lock file, but it would come when we upgraded the version.
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Fri, 27 Sep 2024 17:25:15 +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: ...