class documentation

class PackDataLike(Protocol):

View In Hierarchy

Protocol for objects that behave like PackData.

Method __len__ Return the number of objects in the pack.
Method close Close any open resources.
Method iter_unpacked Iterate over unpacked objects in the pack.
Class Variable object_format Undocumented
def __len__(self) -> int:

Return the number of objects in the pack.

def close(self):

Close any open resources.

def iter_unpacked(self) -> Iterator[UnpackedObject]:

Iterate over unpacked objects in the pack.

object_format: ObjectFormat =

Undocumented