| Top | Description | Object Hierarchy |
GgitDiffFile; GgitDiffFile * ggit_diff_file_ref (GgitDiffFile *file); void ggit_diff_file_unref (GgitDiffFile *file); GgitOId * ggit_diff_file_get_oid (GgitDiffFile *file); const gchar * ggit_diff_file_get_path (GgitDiffFile *file); guint16 ggit_diff_file_get_mode (GgitDiffFile *file); gint64 ggit_diff_file_get_size (GgitDiffFile *file); GgitDiffFlag ggit_diff_file_get_flags (GgitDiffFile *file);
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.
|
a GgitDiff. |
Returns : |
a GgitDiffFile. |
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.
|
a GgitDiffFile. |
GgitOId * ggit_diff_file_get_oid (GgitDiffFile *file);
Gets the GgitOId for file.
|
a GgitDiffFile. |
Returns : |
the file's GgitOId. [transfer none] |
const gchar * ggit_diff_file_get_path (GgitDiffFile *file);
Gets the path of file or NULL if it is unknown.
|
a GgitDiffFile. |
Returns : |
the file's path, or NULL. [allow-none]
|
guint16 ggit_diff_file_get_mode (GgitDiffFile *file);
Gets the mode for file.
|
a GgitDiffFile. |
Returns : |
the file's mode. |
gint64 ggit_diff_file_get_size (GgitDiffFile *file);
Gets the size for file.
|
a GgitDiffFile. |
Returns : |
the file's size. |
GgitDiffFlag ggit_diff_file_get_flags (GgitDiffFile *file);
Gets the GgitDifflags for file.
|
a GgitDiffFile. |
Returns : |
the file's flags. |