Ggit.TreeEntry¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
Details¶
- class Ggit.TreeEntry¶
Represents an entry in a tree.
- get_file_mode()¶
- Returns:
the
Ggit.FileMode
of a tree entry.- Return type:
Gets the
Ggit.FileMode
of a tree entry.
- get_name()¶
-
Get the name of the tree entry.
- get_object_type()¶
- Returns:
- Return type:
Get the type of the tree entry object.
- ref()¶
- Returns:
a
Ggit.TreeEntry
orNone
.- Return type:
Atomically increments the reference count of self by one. This function is MT-safe and may be called from any thread.
- unref()¶
Atomically decrements the reference count of self by one. If the reference count drops to 0, self is freed.