Module ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias Import alias identifier Assign NameStore Str Assign NameStore TupleLoad Str Str ClassDef bases NameLoad body Expr Str Assign NameStore BinOpMult Str Num Assign NameStore BinOpMult Str Num Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore TupleLoad Str Str Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call Call NameLoad Str NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Return NameLoad Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Return NameLoad Return CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad Call NameLoad NameLoad attr orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A util get_object_type_by_name git.util LazyMixin join_path_native stream_copy gitdb.util bin_to_hex basename N/A gitdb.typ dbtyp N/A _assertion_msg_format Created object %r whose python type %r disagrees with the acutal git object type %r N/A __all__ N/A Object IndexObject Object N/A LazyMixin N/A N/A Implements an Object which may be Blobs, Trees, Commits and Tags N/A NULL_HEX_SHA N/A 0 40 N/A NULL_BIN_SHA N/A 20 N/A TYPES N/A N/A dbtyp str_blob_type N/A dbtyp str_tree_type N/A dbtyp str_commit_type N/A dbtyp str_tag_type N/A __slots__ N/A repo binsha size N/A type None __init__ N/A N/A self repo binsha N/A N/A N/A Initialize an object by identifying it by its binary sha.
        All keyword arguments will be set on demand if None.

        :param repo: repository this object is located in

        :param binsha: 20 byte SHA1 N/A N/A N/A N/A super Object self __init__ N/A N/A self repo repo N/A N/A self binsha binsha N/A N/A N/A len binsha 20 N/A Require 20 byte binary sha, got %r, len = %i N/A binsha N/A len binsha N/A new N/A N/A cls repo id N/A N/A N/A 
        :return: New Object instance of a type appropriate to the object type behind
            id. The id of the newly created object will be a binsha even though
            the input id may have been a Reference or Rev-Spec

        :param id: reference, rev-spec, or hexsha

        :note: This cannot be a __new__ method as it would always call __init__
            with the input id which is not necessarily a binsha. N/A N/A N/A repo rev_parse N/A str id N/A classmethod new_from_sha N/A N/A cls repo sha1 N/A N/A N/A 
        :return: new object instance of a type appropriate to represent the given
            binary sha1
        :param sha1: 20 byte binary sha1 N/A N/A sha1 N/A cls NULL_BIN_SHA N/A N/A N/A N/A get_object_type_by_name commit repo sha1 N/A oinfo N/A N/A N/A repo odb info sha1 N/A inst N/A N/A get_object_type_by_name N/A oinfo type repo N/A oinfo binsha N/A N/A inst size N/A oinfo size N/A inst N/A classmethod _set_cache_ N/A N/A self attr N/A N/A N/A Retrieve object information N/A N/A attr size N/A N/A oinfo N/A N/A N/A N/A self repo odb info N/A self binsha N/A N/A self size N/A oinfo size N/A N/A N/A N/A N/A super Object self _set_cache_ attr N/A __eq__ N/A N/A self other N/A N/A N/A :return: True if the objects have the same SHA1 N/A N/A N/A hasattr other binsha N/A N/A False N/A N/A N/A self binsha N/A other binsha N/A __ne__ N/A N/A self other N/A N/A N/A :return: True if the objects do not have the same SHA1  N/A N/A N/A hasattr other binsha N/A N/A True N/A N/A N/A self binsha N/A other binsha N/A __hash__ N/A N/A self N/A N/A N/A :return: Hash of our id allowing objects to be used in dicts and sets N/A N/A hash N/A self binsha N/A __str__ N/A N/A self N/A N/A N/A :return: string of our SHA1 as understood by all git commands N/A N/A self hexsha N/A __repr__ N/A N/A self N/A N/A N/A :return: string with pythonic representation of our object N/A N/A <git.%s "%s"> N/A N/A N/A self __class__ __name__ N/A self hexsha N/A hexsha N/A N/A self N/A N/A N/A :return: 40 byte hex version of our 20 byte binary sha N/A N/A N/A N/A bin_to_hex N/A self binsha decode ascii N/A property data_stream N/A N/A self N/A N/A N/A  :return:  File Object compatible stream to the uncompressed raw data of the object
        :note: returned streams must be read in order N/A N/A N/A N/A N/A self repo odb stream N/A self binsha N/A property stream_data N/A N/A self ostream N/A N/A N/A Writes our data directly to the given output stream
        :param ostream: File object compatible stream object.
        :return: self N/A istream N/A N/A N/A N/A self repo odb stream N/A self binsha N/A N/A stream_copy istream ostream N/A self N/A N/A IndexObject N/A Object N/A N/A Base for all objects that can be part of the index file , namely Tree, Blob and
    SubModule objects N/A __slots__ N/A path mode N/A _id_attribute_ path __init__ N/A N/A self repo binsha mode path N/A None None N/A N/A Initialize a newly instanced IndexObject

        :param repo: is the Repo we are located in
        :param binsha: 20 byte sha1
        :param mode:
            is the stat compatible file mode as int, use the stat module
            to evaluate the infomration
        :param path:
            is the path to the file in the file system, relative to the git repository root, i.e.
            file.ext or folder/other.ext
        :note:
            Path may not be set of the index object has been created directly as it cannot
            be retrieved without knowing the parent tree. N/A N/A N/A N/A super IndexObject self __init__ repo binsha N/A N/A mode None N/A N/A N/A self mode mode N/A N/A path None N/A N/A N/A self path path N/A __hash__ N/A N/A self N/A N/A N/A 
        :return:
            Hash of our path as index items are uniquely identifyable by path, not
            by their data ! N/A N/A hash N/A self path N/A _set_cache_ N/A N/A self attr N/A N/A N/A N/A attr N/A IndexObject __slots__ N/A N/A N/A AttributeError N/A Attribute '%s' unset: path and mode attributes must have been set during %s object creation N/A attr N/A N/A type self __name__ N/A N/A N/A N/A N/A super IndexObject self _set_cache_ attr N/A name N/A N/A self N/A N/A N/A :return: Name portion of the path, effectively being the basename N/A N/A basename N/A self path N/A property abspath N/A N/A self N/A N/A N/A 
        :return:
            Absolute path to this index object in the file system ( as opposed to the
            .path field which is a path relative to the git repository ).

            The returned path will be native to the system and contains '' on windows.  N/A N/A join_path_native N/A N/A self repo working_tree_dir N/A self path N/A property N/A