Mercurial > hg
view mercurial/cext/mpatch.pyi @ 51728:2e9e62242451
typing: disable some pytype errors in `mercurial.store`
These seem to be legitimate errors, since one of the two callers
(`encodedstore.data_entries()`) was previously typed to generate
`BaseStoreEntry`. However, that and the other caller only pass
`RevlogStoreEntry` objects. I can't tell if this was a WIP or what, but don't
want to get side tracked on this. So flag as a TODO for later.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 23 Jul 2024 19:14:16 -0400 |
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: ...