mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 21:55:29 +02:00
32 lines
515 B
Python
32 lines
515 B
Python
from typing import Optional, Tuple
|
|
|
|
IO_BUFFER_SIZE: int
|
|
|
|
|
|
class JobCapsule:
|
|
pass
|
|
|
|
|
|
class SignatureCapsule:
|
|
pass
|
|
|
|
|
|
class RsyncError(Exception):
|
|
pass
|
|
|
|
|
|
def begin_create_signature(file_size: int = -1, strong_len: int = 0) -> JobCapsule:
|
|
pass
|
|
|
|
|
|
def begin_load_signature() -> Tuple[JobCapsule, SignatureCapsule]:
|
|
pass
|
|
|
|
|
|
def make_hash_table(sig: SignatureCapsule) -> None:
|
|
pass
|
|
|
|
|
|
def iter_job(job_capsule: JobCapsule, input_data: bytes, eof: Optional[bool] = None) -> Tuple[bytes, bool]:
|
|
pass
|