Class
GgitCheckoutOptions
Description [src]
class Ggit.CheckoutOptions : GObject.Object
{
/* No available fields */
}
Represents the options used when doign a checkout.
Instance methods
ggit_checkout_options_get_baseline
Get the baseline, i.e. the expected content of workdir. Defaults to HEAD.
ggit_checkout_options_get_file_open_flags
Get the checkout file open flags. These flags are platform specific, e.g. on Unix these would include O_CREAT, O_TRUNC, etc.
ggit_checkout_options_set_baseline
Set the baseline, i.e. the expected content of workdir. If tree
is set
to NULL
, the default (HEAD) will be used as the baseline.
ggit_checkout_options_set_file_open_flags
Set the checkout file open flags. These flags are platform dependent, e.g. on Unix use O_CREAT, O_TRUNC, etc.
ggit_checkout_options_set_paths
Set the list of file paths to checkout. If paths
is NULL
, then all files
will be checked out.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct GgitCheckoutOptionsClass {
GObjectClass parent_class;
gint (* notify) (
GgitCheckoutOptions* options,
GgitCheckoutNotifyFlags why,
const gchar* path,
GgitDiffFile* baseline,
GgitDiffFile* target,
GgitDiffFile* workdir
);
void (* progress) (
GgitCheckoutOptions* options,
const gchar* path,
gsize completed_steps,
gsize total_steps
);
}
No description available.
Class members
parent_class: GObjectClass
No description available.
notify: gint (* notify) ( GgitCheckoutOptions* options, GgitCheckoutNotifyFlags why, const gchar* path, GgitDiffFile* baseline, GgitDiffFile* target, GgitDiffFile* workdir )
No description available.
progress: void (* progress) ( GgitCheckoutOptions* options, const gchar* path, gsize completed_steps, gsize total_steps )
No description available.