| Top |
| GgitDiffFile * | ggit_diff_file_ref () |
| void | ggit_diff_file_unref () |
| GgitOId * | ggit_diff_file_get_oid () |
| const gchar * | ggit_diff_file_get_path () |
| guint16 | ggit_diff_file_get_mode () |
| gint64 | ggit_diff_file_get_size () |
| GgitDiffFlag | ggit_diff_file_get_flags () |
GgitDiffFile *
ggit_diff_file_ref (GgitDiffFile *file);
Atomically increments the reference count of file
by one.
This function is MT-safe and may be called from any thread.
void
ggit_diff_file_unref (GgitDiffFile *file);
Atomically decrements the reference count of file
by one.
If the reference count drops to 0, file
is freed.
GgitOId *
ggit_diff_file_get_oid (GgitDiffFile *file);
Gets the GgitOId for file
.
const gchar *
ggit_diff_file_get_path (GgitDiffFile *file);
Gets the path of file
or NULL if it is unknown.
guint16
ggit_diff_file_get_mode (GgitDiffFile *file);
Gets the mode for file
.
gint64
ggit_diff_file_get_size (GgitDiffFile *file);
Gets the size for file
.
GgitDiffFlag
ggit_diff_file_get_flags (GgitDiffFile *file);
Gets the GgitDifflags for file
.