Top |
Functions
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 () |
Functions
ggit_diff_file_ref ()
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.
ggit_diff_file_unref ()
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.
ggit_diff_file_get_oid ()
GgitOId *
ggit_diff_file_get_oid (GgitDiffFile *file
);
Gets the GgitOId for file
.
ggit_diff_file_get_path ()
const gchar *
ggit_diff_file_get_path (GgitDiffFile *file
);
Gets the path of file
or NULL
if it is unknown.
ggit_diff_file_get_mode ()
guint16
ggit_diff_file_get_mode (GgitDiffFile *file
);
Gets the mode for file
.
ggit_diff_file_get_size ()
gint64
ggit_diff_file_get_size (GgitDiffFile *file
);
Gets the size for file
.
ggit_diff_file_get_flags ()
GgitDiffFlag
ggit_diff_file_get_flags (GgitDiffFile *file
);
Gets the GgitDifflags for file
.