mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
More work on wrapping librsync
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Optional, Tuple
|
||||
from typing import Callable, Optional, Tuple
|
||||
|
||||
IO_BUFFER_SIZE: int
|
||||
|
||||
@@ -23,7 +23,7 @@ def begin_load_signature() -> Tuple[JobCapsule, SignatureCapsule]:
|
||||
pass
|
||||
|
||||
|
||||
def make_hash_table(sig: SignatureCapsule) -> None:
|
||||
def build_hash_table(sig: SignatureCapsule) -> None:
|
||||
pass
|
||||
|
||||
|
||||
@@ -31,5 +31,9 @@ def begin_create_delta(sig: SignatureCapsule) -> JobCapsule:
|
||||
pass
|
||||
|
||||
|
||||
def begin_patch(callback: Callable[[memoryview, int], int]) -> JobCapsule:
|
||||
pass
|
||||
|
||||
|
||||
def iter_job(job_capsule: JobCapsule, input_data: bytes, eof: Optional[bool] = None, expecting_output: bool = True) -> Tuple[bytes, bool, int]:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user