class documentation
class OverlayObjectStore(BaseObjectStore):
Object store that can overlay multiple object stores.
Method | __init__ |
Undocumented |
Method | __iter__ |
Iterate over the SHAs that are present in this store. |
Method | add |
Add a single object to this object store. |
Method | add |
Add a set of objects to this object store. |
Method | contains |
Check if a particular object is present by SHA1 and is loose. |
Method | contains |
Check if a particular object is present by SHA1 and is packed. |
Method | get |
Obtain the raw text for an object. |
Instance Variable | add |
Undocumented |
Instance Variable | bases |
Undocumented |
Property | packs |
Iterable of pack objects. |
Inherited from BaseObjectStore
:
Method | __contains__ |
Check if a particular object is present by SHA1. |
Method | __getitem__ |
Obtain an object by SHA1. |
Method | add |
Add a new pack to this object store. |
Method | add |
Add pack data to this object store. |
Method | close |
Close any files opened by this object store. |
Method | determine |
Undocumented |
Method | find |
Find which revisions this store has in common using graphwalker. |
Method | find |
Find the missing objects required for a set of revisions. |
Method | generate |
Iterate over the contents of a pack file. |
Method | generate |
Generate pack data objects for a set of wants/haves. |
Method | iter |
Iterate over the objects for the specified shas. |
Method | iter |
Iterate the contents of a tree and all subtrees. |
Method | peel |
Peel all tags from a SHA. |
Method | tree |
Find the differences between the contents of two trees |
Method | _collect |
Collect all ancestors of heads up to (excluding) those in common. |
Method | _get |
Return the current available depth for the given head. For commits with multiple parents, the largest possible depth will be returned. |
Add a set of objects to this object store.
Parameters | |
objects | Iterable over a list of (object, path) tuples |
progress | Undocumented |