Struct
GgitIndexEntry
Description [src]
struct GgitIndexEntry {
/* No available fields */
}
Represents an index entry object.
Instance methods
ggit_index_entry_ref
Atomically increments the reference count of entry
by one.
This function is MT-safe and may be called from any thread.
ggit_index_entry_set_commit
Set the index entry to point to a given commit. This sets the index entry id to the commit id, changes the mode to #GGIT_FILE_MODE_COMMIT and updates the timestamps to when the commit was made.
ggit_index_entry_set_path
Set the path of the index entry. The path should be relative to the working directory.
ggit_index_entry_unref
Atomically decrements the reference count of entry
by one.
If the reference count drops to 0, entry
is freed.