Ggit.DiffBinary¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
Details¶
- class Ggit.DiffBinary¶
Represents a diff binary.
- get_new_file()¶
- Returns:
the contents of the new file or
None
.- Return type:
Gets the
Ggit.DiffBinaryFile
new file for self.
- get_old_file()¶
- Returns:
the contents of the old file or
None
.- Return type:
Gets the
Ggit.DiffBinaryFile
old file for self.
- ref()¶
- Returns:
a
Ggit.DiffBinary
orNone
.- Return type:
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.