| Top | Description | Object Hierarchy |
enum GgitStatusOption; enum GgitStatusShow; GgitStatusOptions * ggit_status_options_copy (GgitStatusOptions *status_options); void ggit_status_options_free (GgitStatusOptions *status_options); GgitStatusOptions * ggit_status_options_new (GgitStatusOption options,GgitStatusShow show,const gchar **pathspec);
typedef enum {
GGIT_STATUS_OPTION_INCLUDE_UNTRACKED = (1 << 0),
GGIT_STATUS_OPTION_INCLUDE_IGNORED = (1 << 1),
GGIT_STATUS_OPTION_INCLUDE_UNMODIFIED = (1 << 2),
GGIT_STATUS_OPTION_EXCLUDE_SUBMODULES = (1 << 3),
GGIT_STATUS_OPTION_RECURSE_UNTRACKED_DIRS = (1 << 4),
GGIT_STATUS_OPTION_DISABLE_PATHSPEC_MATCH = (1 << 5),
GGIT_STATUS_OPTION_RECURSE_IGNORED_DIRS = (1 << 6),
GGIT_STATUS_OPTION_RENAMES_HEAD_TO_INDEX = (1 << 7),
GGIT_STATUS_OPTION_RENAMES_INDEX_TO_WORKDIR = (1 << 8),
GGIT_STATUS_OPTION_SORT_CASE_SENSITIVELY = (1 << 9),
GGIT_STATUS_OPTION_SORT_CASE_INSENSITIVELY = (1 << 10),
GGIT_STATUS_OPTION_DEFAULT = GGIT_STATUS_OPTION_INCLUDE_IGNORED |
GGIT_STATUS_OPTION_INCLUDE_UNTRACKED |
GGIT_STATUS_OPTION_RECURSE_UNTRACKED_DIRS
} GgitStatusOption;
Status options specified when using ggit_repository_file_status_foreach.
typedef enum {
GGIT_STATUS_SHOW_INDEX_AND_WORKDIR = 0,
GGIT_STATUS_SHOW_INDEX_ONLY = 1,
GGIT_STATUS_SHOW_WORKDIR_ONLY = 2
} GgitStatusShow;
Show options for ggit_repository_file_status_foreach. Determines which files are included in the status.
| receive one callback for each file, even if the file is in both the index and the workdir (combining GgitStatusFlags). | |
| only receive callbacks for files in the index. | |
| only receive callbacks for files in the workdir. |
GgitStatusOptions * ggit_status_options_copy (GgitStatusOptions *status_options);
Copies status_options into a newly allocated GgitStatusOptions.
|
a GgitStatusOptions. |
Returns : |
a newly allocated GgitStatusOptions. [transfer full] |
void ggit_status_options_free (GgitStatusOptions *status_options);
Frees status_options.
|
a GgitStatusOptions. |
GgitStatusOptions * ggit_status_options_new (GgitStatusOption options,GgitStatusShow show,const gchar **pathspec);
Creates a new GgitStatusOptions for use in ggit_repository_stash_foreach.
|
status options. |
|
status show options. |
|
which paths to show, defaults to showing all paths. [allow-none][array zero-terminated=1] |
Returns : |
a newly allocated GgitStatusOptions. |