Struct

GgitIndexEntry

Description [src]

struct GgitIndexEntry {
  /* No available fields */
}

Represents an index entry object.

Instance methods

ggit_index_entry_get_dev

Get the dev of the index entry.

ggit_index_entry_get_file_size

Get the file size of the index entry.

ggit_index_entry_get_flags

Get the flags of the index entry.

ggit_index_entry_get_flags_extended

Get the extended flags of the index entry.

ggit_index_entry_get_gid

Get the gid of the index entry.

ggit_index_entry_get_id

Get the oid of the index entry.

ggit_index_entry_get_ino

Get the ino of the index entry.

ggit_index_entry_get_mode

Get the mode of the index entry.

ggit_index_entry_get_path
No description available.
ggit_index_entry_get_uid

Get the uid of the index entry.

ggit_index_entry_is_conflict

Get whether the entry represents a conflict.

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_dev

Set the dev of the index entry.

ggit_index_entry_set_file_size

Set the file size of the index entry.

ggit_index_entry_set_flags

Set the flags of the index entry.

ggit_index_entry_set_flags_extended

Set the extended flags of the index entry.

ggit_index_entry_set_gid

Set the gid of the index entry.

ggit_index_entry_set_id

Set the oid of the index entry.

ggit_index_entry_set_ino

Set the ino of the index entry.

ggit_index_entry_set_mode

Set the mode of the index entry.

ggit_index_entry_set_path

Set the path of the index entry. The path should be relative to the working directory.

ggit_index_entry_set_uid

Set the uid of the index entry.

ggit_index_entry_stat

Fill the entry fields from statting file.

ggit_index_entry_unref

Atomically decrements the reference count of entry by one. If the reference count drops to 0, entry is freed.