class documentation
class SwiftPack(Pack):
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 |
The pack data object being used. |
Instance Variable | _data |
Undocumented |
Instance Variable | _idx |
Undocumented |
Instance Variable | _pack |
Undocumented |
Instance Variable | _pack |
Undocumented |
Instance Variable | _pack |
Undocumented |
Inherited from Pack
:
Class Method | from |
Create a new pack object from callables to load pack data and index objects. |
Class Method | from |
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 |
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 |
Undocumented |
Method | get |
Get raw unresolved data for a SHA. |
Method | get |
Get the object for a ref SHA, only looking in this pack. |
Method | get |
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 |
Provide an iterable for use with write_pack_objects. |
Method | resolve |
Resolve an object, possibly resolving deltas when necessary. |
Method | sorted |
Return entries in this pack, sorted by SHA. |
Instance Variable | resolve |
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 |
Undocumented |
Instance Variable | _idx |
Undocumented |
Instance Variable | _idx |
Undocumented |