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