Mercurial > hg
view mercurial/cext/mpatch.pyi @ 47929:03f57915e0ce
dirstate-item: implement `added` in a simpler way
We can simply use the underlying attribute.
Differential Revision: https://phab.mercurial-scm.org/D11366
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 27 Aug 2021 17:07:56 +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: ...