view mercurial/cext/mpatch.pyi @ 48121:5fc2dfb073d6

dirstatemap: rename `_rustmap` to `_map` This match the name of the `map` for the other implementation and will make it simpler to share code between the two. Differential Revision: https://phab.mercurial-scm.org/D11566
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 01 Oct 2021 17:10:24 +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: ...