Class

GgitTree

since: 1.0

Description [src]

class Ggit.Tree : Ggit.Object
{
  /* No available fields */
}

Represents a tree object.

Available since: 1.0

Hierarchy

hierarchy this GgitTree ancestor_0 GgitObject ancestor_0--this ancestor_1 GgitNative ancestor_1--ancestor_0 ancestor_2 GgitObjectFactoryBase ancestor_2--ancestor_1 ancestor_3 GObject ancestor_3--ancestor_2

Instance methods

ggit_tree_get

Get a tree entry by index.

since: 1.0

ggit_tree_get_by_name

Get a tree entry by name.

since: 1.0

ggit_tree_get_by_path

Retrieves a tree entry contained in a tree or in any of its subtrees, given its relative path.

since: 1.0

ggit_tree_get_id

Get the GgitOId of the tree.

since: 1.0

ggit_tree_size

Get the number of entries in the tree.

since: 1.0

ggit_tree_walk

Walk all the entries of a tree object recursively (resolving and walking subtrees of the tree as needed). The error will be set to the error returned by callback (if any).

since: 1.0

Methods inherited from GgitObject (2)
ggit_object_get_id

Gets the GgitOId of object.

since: 1.0

ggit_object_get_owner

Gets the GgitRepository that owns object.

since: 1.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from GgitNative (1)
Ggit.Native:native
No description available.

since: 1.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

unstable since: 2.0

Class structure

struct GgitTreeClass {
  /* no available fields */
}

The class structure for GgitTreeClass.