class documentation

class SwiftPack(Pack):

View In Hierarchy

A Git pack object.

Same implementation as pack.Pack except that _idx_load and _data_load are bounded to Swift version of load_pack_index and PackData.

Method __init__ Undocumented
Instance Variable scon Undocumented
Property pack_info The pack data object being used.
Instance Variable _data_load Undocumented
Instance Variable _idx_load Undocumented
Instance Variable _pack_info Undocumented
Instance Variable _pack_info_load Undocumented
Instance Variable _pack_info_path Undocumented

Inherited from Pack:

Class Method from_lazy_objects Create a new pack object from callables to load pack data and index objects.
Class Method from_objects Create a new pack object from pack data and index objects.
Method __contains__ Check whether this pack contains a particular SHA1.
Method __enter__ Undocumented
Method __eq__ Undocumented
Method __exit__ Undocumented
Method __getitem__ Retrieve the specified SHA1.
Method __iter__ Iterate over all the sha1s of the objects in this pack.
Method __len__ Number of entries in this pack.
Method __repr__ Undocumented
Method check Check the integrity of this pack.
Method check_length_and_checksum Sanity check the length and checksum of the pack index and data.
Method close Undocumented
Method entries Yield entries summarizing the contents of this pack.
Method get_raw Undocumented
Method get_raw_unresolved Get raw unresolved data for a SHA.
Method get_ref Get the object for a ref SHA, only looking in this pack.
Method get_stored_checksum Undocumented
Method iterobjects Iterate over the objects in this pack.
Method keep Add a .keep file for the pack, preventing git from garbage collecting it.
Method name The SHA over the SHAs of the objects in this pack.
Method pack_tuples Provide an iterable for use with write_pack_objects.
Method resolve_object Resolve an object, possibly resolving deltas when necessary.
Method sorted_entries Return entries in this pack, sorted by SHA.
Instance Variable resolve_ext_ref Undocumented
Property data The pack data object being used.
Property index The index being used.
Instance Variable _basename Undocumented
Instance Variable _data Undocumented
Instance Variable _data_path Undocumented
Instance Variable _idx Undocumented
Instance Variable _idx_path Undocumented
def __init__(self, *args, **kwargs):

Undocumented

scon =

Undocumented

@property
pack_info =

The pack data object being used.

_data_load =

Undocumented

_idx_load =

Undocumented

_pack_info =

Undocumented

_pack_info_load =

Undocumented

_pack_info_path =

Undocumented