Ggit.IndexEntryResolveUndo

Fields

None

Methods

get_file ()

get_id (stage)

get_mode (stage)

ref ()

unref ()

Details

class Ggit.IndexEntryResolveUndo

Represents an resolve undo index entry object.

get_file()
Returns:

a Gio.File or None.

Return type:

Gio.File or None

Get the file of the index entry.

get_id(stage)
Parameters:

stage (int) – the stage (0, 1 or 2).

Returns:

the oid or None.

Return type:

Ggit.OId or None

Get the oid of the index entry.

get_mode(stage)
Parameters:

stage (int) – the stage (0, 1 or 2).

Returns:

the mode.

Return type:

int

Get the mode of the index entry. The returned mode contains the modes from stage 1, 2 and 3.

ref()
Returns:

a Ggit.IndexEntryResolveUndo or None.

Return type:

Ggit.IndexEntryResolveUndo or None

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.