1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-03 05:35:58 +00:00

hashindex types: remove some unused stuff

This commit is contained in:
Thomas Waldmann 2024-08-29 20:53:06 +02:00
parent 15c70397c1
commit 07ab6e02f4
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -39,9 +39,6 @@ class ChunkKeyIterator:
class ChunkIndex(IndexBase):
def add(self, key: bytes, refs: int, size: int) -> None: ...
def iteritems(self, marker: bytes = ...) -> Iterator: ...
def stats_against(self, master_index) -> Tuple: ...
def summarize(self) -> Tuple: ...
def zero_csize_ids(self) -> int: ...
def __contains__(self, key: bytes) -> bool: ...
def __getitem__(self, key: bytes) -> Type[ChunkIndexEntry]: ...
def __setitem__(self, key: bytes, value: CIE) -> None: ...
@ -61,22 +58,14 @@ class NSIndex(IndexBase):
def __contains__(self, key: bytes) -> bool: ...
def __getitem__(self, key: bytes) -> Any: ...
def __setitem__(self, key: bytes, value: Any) -> None: ...
def flags(self, key: bytes, mask: int, value: int = None) -> int: ...
class NSIndex1(IndexBase): # legacy
def iteritems(self, *args, **kwargs) -> Iterator: ...
def __contains__(self, key: bytes) -> bool: ...
def __getitem__(self, key: bytes) -> Any: ...
def __setitem__(self, key: bytes, value: Any) -> None: ...
def flags(self, key: bytes, mask: int, value: int = None) -> int: ...
class FuseVersionsIndex(IndexBase):
def __contains__(self, key: bytes) -> bool: ...
def __getitem__(self, key: bytes) -> Any: ...
def __setitem__(self, key: bytes, value: Any) -> None: ...
class CacheSynchronizer:
size_totals: int
num_files_totals: int
def __init__(self, chunks_index: Any) -> None: ...
def feed(self, chunk: bytes) -> None: ...