mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-22 15:57:15 +00:00
make mypy happy
This commit is contained in:
parent
2ab3c163ce
commit
8a13cf2c4d
1 changed files with 4 additions and 2 deletions
|
@ -5,13 +5,15 @@ API_VERSION: str
|
|||
PATH_OR_FILE = Union[str, IO]
|
||||
|
||||
class ChunkIndexEntry(NamedTuple):
|
||||
refcount: int
|
||||
flags: int
|
||||
size: int
|
||||
|
||||
CIE = Union[Tuple[int, int], Type[ChunkIndexEntry]]
|
||||
|
||||
class ChunkIndex:
|
||||
def add(self, key: bytes, refs: int, size: int) -> None: ...
|
||||
F_NONE: int
|
||||
F_USED: int
|
||||
def add(self, key: bytes, size: int) -> None: ...
|
||||
def iteritems(self, marker: bytes = ...) -> Iterator: ...
|
||||
def __contains__(self, key: bytes) -> bool: ...
|
||||
def __getitem__(self, key: bytes) -> Type[ChunkIndexEntry]: ...
|
||||
|
|
Loading…
Reference in a new issue