mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-19 14:02:55 +00:00
b07aeef498
also added some .pyi files needed to check the cython code (taken from #5703 and updated). fixed "syntax error" in key.py. all mypy complaints not fixed yet.
8 lines
295 B
Python
8 lines
295 B
Python
def crc32(data: bytes, value: int = 0) -> int: ...
|
|
def xxh64(data: bytes, seed: int = 0) -> bytes: ...
|
|
|
|
class StreamingXXH64:
|
|
def __init__(self, seed: int = 0) -> None: ...
|
|
def update(self, data: bytes) -> None: ...
|
|
def digest(self) -> bytes: ...
|
|
def hexdigest(self) -> str: ...
|