Module Import alias Import alias Import alias Import alias Import alias Assign NameStore ListLoad Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq NameLoad Str body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call NameLoad NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIs NameLoad NameLoad body Assign NameStore TupleLoad AttributeLoad NameLoad attr orelse TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore TupleLoad orelse Assign NameStore TupleLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad Str body Return Call NameLoad NameLoad Str TupleLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Expr Str Assign NameStore ListLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad For NameStore NameLoad body Assign NameStore BinOpMult BinOpMult Str NameLoad NameLoad Assign NameStore CompareEq AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore BoolOpOr BoolOpAnd NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Num body Return Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot Call NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Expr Yield NameLoad Return Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body For NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad body Expr Yield NameLoad Return If BoolOpAnd CompareNotEq NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore ListLoad NameLoad If Call NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad For NameStore NameLoad body For NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd Call NameLoad NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad BoolOpOr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareNotEq NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore SubscriptLoad NameLoad Index AttributeLoad SubscriptLoad NameLoad Index NameLoad attr handlers ExceptHandler type NameLoad body Return ListLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad If CompareNotEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareNotEq SubscriptLoad NameLoad Index Num Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body If Call NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Return ListLoad NameLoad orelse If Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Return ListLoad NameLoad Return ListLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Lambda arguments args NameParam defaults ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign TupleStore NameStore NameStore TupleLoad ListLoad ListLoad For NameStore NameLoad body Assign NameStore CompareEq AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Yield TupleLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad NameLoad NameLoad body Expr Yield NameLoad If UnaryOpNot NameLoad body Expr Yield TupleLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list
N/A N/A fnmatch N/A os N/A re N/A sys N/A pygit2 N/A __all__ N/A describe_tree build_path glob build_path N/A N/A repo path entries root N/A None None N/A N/A 
    Builds out a tree path, starting with the leaf node, and updating all
    trees up the parent chain, resulting in (potentially) a new OID for the
    root tree.

    If ``entries`` is provided, those entries are inserted (or updated)
    in the tree for the given path.

    If ``root`` is provided, the path will be built based off of that
    tree. Otherwise, it is built off of an empty tree. Accepts an OID or a
    pygit2.Tree object.

    The root tree OID is returned, so that it can be included in a commit
    or stage.
     N/A path N/A N/A path strip N/A N/A os path sep N/A N/A N/A path None N/A path N/A N/A N/A parent name N/A N/A N/A os path split path N/A N/A N/A parent name N/A None None N/A N/A root None N/A N/A root_id N/A N/A N/A N/A repo TreeBuilder write N/A root N/A repo N/A root_id N/A N/A isinstance root N/A basestring N/A pygit2 Oid N/A N/A root N/A repo N/A root N/A N/A parent None N/A N/A tb_args N/A N/A root oid N/A N/A N/A N/A tree N/A root N/A path N/A N/A N/A KeyError N/A N/A tb_args N/A N/A N/A tb_args N/A N/A tree oid N/A tb N/A N/A repo TreeBuilder tb_args N/A entry entries N/A N/A N/A N/A tb insert entry N/A oid N/A N/A tb write N/A N/A parent None N/A N/A oid N/A entry N/A name oid N/A pygit2 GIT_FILEMODE_TREE N/A N/A parent N/A N/A N/A build_path repo N/A entry root N/A N/A build_path repo parent N/A entry root N/A describe_tree N/A N/A repo tree indent lvl N/A 2 0 N/A N/A 
    Returns a string representation of the given tree, recursively.
     N/A output N/A N/A N/A isinstance tree N/A pygit2 Oid N/A N/A tree N/A repo N/A tree N/A e tree N/A N/A i N/A N/A indent lvl N/A is_tree N/A N/A N/A repo N/A N/A e oid type N/A pygit2 GIT_OBJ_TREE N/A slash N/A N/A is_tree / N/A N/A N/A output append N/A N/A {}{}{} format i N/A e name slash N/A is_tree N/A N/A sub_items N/A describe_tree repo N/A e oid indent N/A lvl 1 N/A N/A N/A output extend sub_items N/A N/A lvl 0 N/A N/A N/A N/A join output N/A output N/A glob N/A N/A repo tree pathname N/A N/A N/A 
    Return an iterator which yields the paths matching a pathname pattern.

    This is identical to python's glob.iglob() function, but works on the
    given git tree object instead of the filesystem.
     N/A N/A isinstance tree N/A pygit2 Oid N/A N/A tree N/A repo N/A tree N/A pathname N/A N/A pathname strip / N/A N/A N/A has_magic pathname N/A N/A N/A path_exists tree pathname N/A N/A N/A pathname N/A N/A N/A dirname basename N/A N/A N/A os path split pathname N/A N/A dirname N/A N/A name N/A glob1 repo tree N/A os curdir basename N/A N/A N/A name N/A N/A N/A N/A dirname pathname N/A has_magic dirname N/A N/A dirs N/A glob repo tree dirname N/A N/A dirs N/A dirname N/A N/A has_magic basename N/A N/A glob_in_dir glob1 N/A N/A glob_in_dir glob0 N/A dirname dirs N/A N/A name N/A glob_in_dir repo tree dirname basename N/A N/A N/A N/A N/A N/A os path join dirname name N/A glob1 N/A N/A repo tree dirname pattern N/A N/A N/A N/A dirname N/A N/A dirname N/A os curdir N/A N/A N/A isinstance pattern unicode N/A N/A isinstance dirname unicode N/A N/A dirname N/A unicode dirname N/A N/A N/A sys getfilesystemencoding N/A N/A sys getdefaultencoding N/A N/A dirname N/A os curdir N/A N/A N/A N/A tree N/A repo N/A N/A N/A tree N/A dirname oid N/A N/A N/A KeyError N/A N/A N/A N/A names N/A N/A e name N/A e tree N/A N/A N/A pattern N/A 0 . N/A N/A names N/A filter N/A N/A N/A n N/A N/A N/A n N/A 0 . names N/A N/A N/A fnmatch filter names pattern N/A glob0 N/A N/A repo tree dirname basename N/A N/A N/A N/A basename N/A N/A N/A path_exists tree dirname N/A N/A entry N/A tree N/A dirname N/A N/A N/A N/A repo N/A N/A entry oid type N/A pygit2 GIT_OBJ_TREE N/A N/A N/A basename N/A N/A N/A path_exists tree N/A N/A N/A os path join dirname basename N/A N/A N/A basename N/A N/A N/A N/A magic_check N/A N/A re compile [*?[] has_magic N/A N/A s N/A N/A N/A N/A N/A N/A magic_check search s None N/A path_exists N/A N/A tree path N/A N/A N/A N/A N/A N/A tree N/A path N/A N/A N/A KeyError N/A N/A False N/A True N/A walk N/A N/A repo tree topdown N/A True N/A N/A 
    Similar to os.walk(), using the given tree as a reference point.
     N/A names N/A N/A N/A entries N/A N/A N/A e name N/A e entries N/A N/A dirs nondirs N/A N/A N/A N/A e tree N/A N/A is_tree N/A N/A N/A repo N/A N/A e oid type N/A pygit2 GIT_OBJ_TREE N/A is_tree N/A N/A N/A N/A dirs append e N/A N/A N/A N/A nondirs append e N/A topdown N/A N/A N/A N/A tree N/A names dirs N/A names nondirs N/A entry dirs N/A N/A new_tree N/A repo N/A N/A entry oid N/A x N/A walk repo new_tree topdown N/A N/A N/A x N/A N/A topdown N/A N/A N/A N/A tree N/A names dirs N/A names nondirs N/A