Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComplexScope ¶ added in v1.2.10
type ComplexScope struct {
// contains filtered or unexported fields
}
func (ComplexScope) PathList ¶ added in v1.2.10
func (s ComplexScope) PathList() []string
func (ComplexScope) Submodules ¶ added in v1.2.10
func (s ComplexScope) Submodules() []submodule
type Index ¶ added in v1.2.10
type Index struct {
// contains filtered or unexported fields
}
func (Index) Submodules ¶ added in v1.2.10
func (s Index) Submodules() []submodule
type Result ¶
func Status ¶
Status returns Result with path lists of untracked files and modified files for index and worktree. The function counts each file status as Modified if it is not Unmodified or Untracked ([ADU] == M). The function does not work with ignored, renamed and copied files.
func (*Result) IndexWithWorktree ¶
func (*Result) PathListWithSubmodules ¶ added in v1.2.24
PathListWithSubmodules returns a list of changed files
Click to show internal directories.
Click to hide internal directories.