| Top | Description | Object Hierarchy |
GgitRefSpec; GgitRefSpec * ggit_ref_spec_ref (GgitRefSpec *refspec); void ggit_ref_spec_unref (GgitRefSpec *refspec); const gchar * ggit_ref_spec_get_source (GgitRefSpec *refspec); const gchar * ggit_ref_spec_get_destination (GgitRefSpec *refspec); gboolean ggit_ref_spec_is_forced (GgitRefSpec *refspec);
GgitRefSpec * ggit_ref_spec_ref (GgitRefSpec *refspec);
Atomically increments the reference count of refspec by one.
This function is MT-safe and may be called from any thread.
|
a GgitRefSpec. |
Returns : |
a GgitRefSpec. |
void ggit_ref_spec_unref (GgitRefSpec *refspec);
Atomically decrements the reference count of refspec by one.
If the reference count drops to 0, refspec is freed.
|
a GgitRefSpec. |
const gchar * ggit_ref_spec_get_source (GgitRefSpec *refspec);
Gets the refspec's source.
|
a GgitRefSpec. |
Returns : |
the refspec's source. |
const gchar * ggit_ref_spec_get_destination (GgitRefSpec *refspec);
Gets the refspec's destination.
|
a GgitRefSpec. |
Returns : |
the refspec's destination. |
gboolean ggit_ref_spec_is_forced (GgitRefSpec *refspec);
Whether updating is done forcefully.
|
a GgitRefSpec. |
Returns : |
if updating is done forcefully. |