class documentation

class GeneratePackDataFunc(TypingProtocol):

View In Hierarchy

Protocol for generate_pack_data functions.

Method __call__ Generate pack data for the given have and want sets.
def __call__(self, have: Set[ObjectID], want: Set[ObjectID], *, ofs_delta: bool = False, progress: Callable[[bytes], None] | None = None) -> tuple[int, Iterator[UnpackedObject]]: ΒΆ

Generate pack data for the given have and want sets.