Ggit.DiffDelta¶
Fields¶
None
Methods¶
| get_flags() | |
| get_new_file() | |
| get_old_file() | |
| get_similarity() | |
| get_status() | |
| ref() | |
| unref() | 
Details¶
- 
class Ggit.DiffDelta¶
- Represents the changes done to one file. - 
get_flags()¶
- Returns: - the delta flags - Return type: - Ggit.DiffFlag- Gets flags for self. 
 - 
get_new_file()¶
- Returns: - the delta’s new file or - None.- Return type: - Ggit.DiffFileor- None- Gets the new file for self. 
 - 
get_old_file()¶
- Returns: - the delta’s old file or - None.- Return type: - Ggit.DiffFileor- None- Gets the old file for self. 
 - 
get_similarity()¶
- Returns: - the delta’s similarity. - Return type: - int- Gets the similarity between self files. 
 - 
get_status()¶
- Returns: - the delta’s status. - Return type: - Ggit.DeltaType- Gets the - Ggit.DeltaTypefor self.
 - 
ref()¶
- Returns: - a - Ggit.DiffDeltaor- None.- Return type: - Ggit.DiffDeltaor- 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. 
 
-