Address issue #108 #109
|
@ -94,8 +94,10 @@ func (statusList *StatusList) EntryCount() (int, error) {
|
||||||
return int(C.git_status_list_entrycount(statusList.ptr)), nil
|
return int(C.git_status_list_entrycount(statusList.ptr)), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type StatusOpt int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
StatusOptIncludeUntracked = C.GIT_STATUS_OPT_INCLUDE_UNTRACKED
|
StatusOptIncludeUntracked StatusOpt = C.GIT_STATUS_OPT_INCLUDE_UNTRACKED
|
||||||
StatusOptIncludeIgnored = C.GIT_STATUS_OPT_INCLUDE_IGNORED
|
StatusOptIncludeIgnored = C.GIT_STATUS_OPT_INCLUDE_IGNORED
|
||||||
StatusOptIncludeUnmodified = C.GIT_STATUS_OPT_INCLUDE_UNMODIFIED
|
StatusOptIncludeUnmodified = C.GIT_STATUS_OPT_INCLUDE_UNMODIFIED
|
||||||
StatusOptExcludeSubmodules = C.GIT_STATUS_OPT_EXCLUDE_SUBMODULES
|
StatusOptExcludeSubmodules = C.GIT_STATUS_OPT_EXCLUDE_SUBMODULES
|
||||||
|
@ -122,7 +124,7 @@ const (
|
||||||
type StatusOptions struct {
|
type StatusOptions struct {
|
||||||
Version int
|
Version int
|
||||||
Show StatusShow
|
Show StatusShow
|
||||||
Flags int
|
Flags StatusOpt
|
||||||
Pathspec []string
|
Pathspec []string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue