Ggit.DiffFile¶
Fields¶
None
Details¶
- 
class Ggit.DiffFile¶
- Represents a file in a - Ggit.Diff.- 
get_flags()¶
- Returns: - the file’s flags. - Return type: - Ggit.DiffFlag- Gets the #GgitDifflags for self. 
 - 
get_oid()¶
- Returns: - the file’s - Ggit.OIdor- None.- Return type: - Ggit.OIdor- None- Gets the - Ggit.OIdfor self.
 - 
get_path()¶
- Returns: - the file’s path, or - None.- Return type: - stror- None- Gets the path of self or - Noneif it is unknown.
 - 
ref()¶
- Returns: - a - Ggit.DiffFileor- None.- Return type: - Ggit.DiffFileor- None- Atomically increments the reference count of self by one. This function is MT-safe and may be called from any thread. 
 - 
unref()¶
- Atomically decrements the reference count of self by one. If the reference count drops to 0, self is freed. 
 
-