| Top |
| GgitRefSpec * | ggit_ref_spec_ref () |
| void | ggit_ref_spec_unref () |
| const gchar * | ggit_ref_spec_get_source () |
| const gchar * | ggit_ref_spec_get_destination () |
| gboolean | ggit_ref_spec_is_forced () |
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.
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.
const gchar *
ggit_ref_spec_get_source (GgitRefSpec *refspec);
Gets the refspec
's source.
const gchar *
ggit_ref_spec_get_destination (GgitRefSpec *refspec);
Gets the refspec
's destination.
gboolean
ggit_ref_spec_is_forced (GgitRefSpec *refspec);
Whether updating is done forcefully.