class documentation

class GcsObjectStore(BucketBasedObjectStore):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __repr__ Undocumented
Instance Variable bucket Undocumented
Instance Variable subpath Undocumented
Method _get_pack Undocumented
Method _iter_pack_names Undocumented
Method _load_pack_data Undocumented
Method _load_pack_index Undocumented
Method _remove_pack Undocumented
Method _upload_pack Undocumented

Inherited from BucketBasedObjectStore:

Method add_pack Add a new pack to this object store.
Method _get_loose_object Undocumented
Method _iter_loose_objects Iterate over the SHAs of all loose objects.
Method _remove_loose_object Undocumented
Method _update_pack_cache Undocumented

Inherited from PackBasedObjectStore (via BucketBasedObjectStore):

Method __contains__ Check if a particular object is present by SHA1.
Method __iter__ Iterate over the SHAs that are present in this store.
Method add_objects Add a set of objects to this object store.
Method close Close any files opened by this object store.
Method contains_loose Check if a particular object is present by SHA1 and is loose.
Method contains_packed Check if a particular object is present by SHA1 and is packed.
Method get_raw Obtain the raw fulltext for an object.
Method pack_loose_objects Pack loose objects.
Method repack Repack the packs in this repository.
Instance Variable pack_compression_level Undocumented
Property alternates Undocumented
Property packs List with pack objects.
Method _add_cached_pack Add a newly appeared pack to the cache by path.
Method _clear_cached_packs Undocumented
Method _iter_alternate_objects Iterate over the SHAs of all the objects in alternate stores.
Method _iter_cached_packs Undocumented
Instance Variable _pack_cache Undocumented

Inherited from BaseObjectStore (via BucketBasedObjectStore, PackBasedObjectStore):

Method __getitem__ Obtain an object by SHA1.
Method add_object Add a single object to this object store.
Method add_pack_data Add pack data to this object store.
Method determine_wants_all Undocumented
Method find_common_revisions Find which revisions this store has in common using graphwalker.
Method find_missing_objects Find the missing objects required for a set of revisions.
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 iter_shas Iterate over the objects for the specified shas.
Method iter_tree_contents Iterate the contents of a tree and all subtrees.
Method peel_sha Peel all tags from a SHA.
Method tree_changes Find the differences between the contents of two trees
Method _collect_ancestors Collect all ancestors of heads up to (excluding) those in common.
Method _get_depth Return the current available depth for the given head. For commits with multiple parents, the largest possible depth will be returned.
def __init__(self, bucket, subpath=''):
def __repr__(self):

Undocumented

bucket =

Undocumented

subpath =

Undocumented

def _get_pack(self, name):
def _iter_pack_names(self):
def _load_pack_data(self, name):

Undocumented

def _load_pack_index(self, name):

Undocumented

def _remove_pack(self, name):
def _upload_pack(self, basename, pack_file, index_file):