view mercurial/cext/mpatch.pyi @ 46369:cabc5e9366c5

rust: lower compile error on non-linux platforms to a warning As discussed on D9671#146704 this lowers the error to a warning. Differential Revision: https://phab.mercurial-scm.org/D9852
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 22 Jan 2021 11:10:39 +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: ...