Top |
Functions
Functions
ggit_index_entries_resolve_undo_get ()
GgitIndexEntryResolveUndo * ggit_index_entries_resolve_undo_get (GgitIndexEntriesResolveUndo *entries
,guint idx
);
Get a GgitIndexEntryResolveUndo by index. Note that the returned GgitIndexEntryResolveUndo is _only_ valid as long as:
1) The associated index has been closed
2) The entry has not been removed (see ggit_index_remove()
)
3) The index has not been refreshed (see ggit_index_read()
)
ggit_index_entries_resolve_undo_get_by_file ()
GgitIndexEntryResolveUndo * ggit_index_entries_resolve_undo_get_by_file (GgitIndexEntriesResolveUndo *entries
,GFile *file
);
Get an resolve_undo entry specified by path. The returned entry is read
only and should not be modified by the caller. If the entry could not be
found, NULL
is returned.
ggit_index_entries_resolve_undo_ref ()
GgitIndexEntriesResolveUndo *
ggit_index_entries_resolve_undo_ref (GgitIndexEntriesResolveUndo *entries
);
Atomically increments the reference count of entries
by one.
This function is MT-safe and may be called from any thread.
ggit_index_entries_resolve_undo_unref ()
void
ggit_index_entries_resolve_undo_unref (GgitIndexEntriesResolveUndo *entries
);
Atomically decrements the reference count of entries
by one.
If the reference count drops to 0, entries
is freed.
ggit_index_entries_resolve_undo_size ()
guint
ggit_index_entries_resolve_undo_size (GgitIndexEntriesResolveUndo *entries
);
Get the number of GgitIndexEntryResolveUndo entries.
ggit_index_entry_resolve_undo_ref ()
GgitIndexEntryResolveUndo *
ggit_index_entry_resolve_undo_ref (GgitIndexEntryResolveUndo *entry
);
Atomically increments the reference count of entry
by one.
This function is MT-safe and may be called from any thread.
ggit_index_entry_resolve_undo_unref ()
void
ggit_index_entry_resolve_undo_unref (GgitIndexEntryResolveUndo *entry
);
Atomically decrements the reference count of entry
by one.
If the reference count drops to 0, entry
is freed.
ggit_index_entry_resolve_undo_get_mode ()
guint ggit_index_entry_resolve_undo_get_mode (GgitIndexEntryResolveUndo *entry
,gint stage
);
Get the mode of the index entry. The returned mode contains the modes from stage 1, 2 and 3.
ggit_index_entry_resolve_undo_get_id ()
GgitOId * ggit_index_entry_resolve_undo_get_id (GgitIndexEntryResolveUndo *entry
,gint stage
);
Get the oid of the index entry.
ggit_index_entry_resolve_undo_get_file ()
GFile *
ggit_index_entry_resolve_undo_get_file
(GgitIndexEntryResolveUndo *entry
);
Get the file of the index entry.