dulwich.object_store.OverlayObjectStore(BaseObjectStore)
class documentationdulwich.object_store
(View In Hierarchy)
Method | __init__ | Undocumented |
Method | add_object | Add a single object to this object store. |
Method | add_objects | Add a set of objects to this object store. |
Method | packs | Iterable of pack objects. |
Method | __iter__ | Iterate over the SHAs that are present in this store. |
Method | get_raw | Obtain the raw text for an object. |
Method | contains_packed | Check if a particular object is present by SHA1 and is packed. |
Method | contains_loose | Check if a particular object is present by SHA1 and is loose. |
Inherited from BaseObjectStore:
Method | determine_wants_all | Undocumented |
Method | iter_shas | Iterate over the objects for the specified shas. |
Method | __contains__ | Check if a particular object is present by SHA1. |
Method | __getitem__ | Obtain an object by SHA1. |
Method | add_pack_data | Add pack data to this object store. |
Method | tree_changes | Find the differences between the contents of two trees |
Method | iter_tree_contents | Iterate the contents of a tree and all subtrees. |
Method | find_missing_objects | Find the missing objects required for a set of revisions. |
Method | find_common_revisions | Find which revisions this store has in common using graphwalker. |
Method | generate_pack_contents | Iterate over the contents of a pack file. |
Method | generate_pack_data | Generate pack data objects for a set of wants/haves. |
Method | peel_sha | Peel all tags from a SHA. |
Method | close | Close any files opened by this object store. |
Method | _collect_ancestors | Collect all ancestors of heads up to (excluding) those in common. |
Parameters | objects | Iterable over a list of (object, path) tuples |
Parameters | name | sha for the object. |
Returns | tuple with numeric type and object contents. |