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