Ggit.RefSpec¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
Details¶
- class Ggit.RefSpec¶
Reprensents a git reference specification.
- get_destination()¶
-
Gets the self's destination.
- get_source()¶
-
Gets the self's source.
- is_forced()¶
- Returns:
if updating is done forcefully.
- Return type:
Whether updating is done forcefully.
- ref()¶
- Returns:
a
Ggit.RefSpec
orNone
.- Return type:
Ggit.RefSpec
orNone
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.