Ggit.DiffBinaryFile¶
Fields¶
None
Methods¶
|
|
|
|
|
Details¶
- class Ggit.DiffBinaryFile¶
Represents a diff binary file.
- get_binary_type()¶
- Returns:
the file’s binary type.
- Return type:
Gets the
Ggit.DiffBinaryType
for self.
- get_data(size)¶
- Parameters:
- Returns:
a pointer to the binary data, or
None
.- Return type:
Get the binary data. This data should not be modified.
- get_inflated_size()¶
- Returns:
the length of the binary data after inflation.
- Return type:
Gets the length of the binary data after inflation.
- ref()¶
- Returns:
- 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.