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