Ggit.DiffBinary

Fields

None

Methods

get_new_file ()

get_old_file ()

ref ()

unref ()

Details

class Ggit.DiffBinary

Represents a diff binary.

get_new_file()
Returns:

the contents of the new file or None.

Return type:

Ggit.DiffBinaryFile or None

Gets the Ggit.DiffBinaryFile new file for self.

get_old_file()
Returns:

the contents of the old file or None.

Return type:

Ggit.DiffBinaryFile or None

Gets the Ggit.DiffBinaryFile old file for self.

ref()
Returns:

a Ggit.DiffBinary or None.

Return type:

Ggit.DiffBinary or 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.