mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
Expose reset as well
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
from typing import Union
|
||||
|
||||
Buffer = Union[bytes, bytearray, memoryview]
|
||||
|
||||
class RsyncError(Exception):
|
||||
pass
|
||||
|
||||
class Hasher:
|
||||
def __init__(self, which: str, data: Buffer = b''): ...
|
||||
def update(self, data: Buffer) -> None: ...
|
||||
def reset(self) -> None: ...
|
||||
def digest(self) -> bytes: ...
|
||||
def hexdigest(self) -> str: ...
|
||||
|
||||
@property
|
||||
def digest_size(self) -> int: ...
|
||||
@property
|
||||
def block_size(self) -> int: ...
|
||||
@property
|
||||
def name(self) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user