MCPcopy
hub / github.com/go-git/go-git / Status

Method Status

worktree_status.go:39–41  ·  view source on GitHub ↗

Status returns the working tree status.

()

Source from the content-addressed store, hash-verified

37
38// Status returns the working tree status.
39func (w *Worktree) Status() (Status, error) {
40 return w.StatusWithOptions(StatusOptions{Strategy: defaultStatusStrategy})
41}
42
43// StatusOptions defines the options for Worktree.StatusWithOptions().
44type StatusOptions struct {

Callers 15

CleanMethod · 0.95
TestCheckoutBranchMethod · 0.95
TestCheckoutCreateMethod · 0.95
TestStatusMethod · 0.95
TestResetMethod · 0.95
TestResetSoftMethod · 0.95
TestResetMixedMethod · 0.95

Calls 1

StatusWithOptionsMethod · 0.95

Tested by 15

TestCheckoutBranchMethod · 0.76
TestCheckoutCreateMethod · 0.76
TestStatusMethod · 0.76
TestResetMethod · 0.76
TestResetSoftMethod · 0.76
TestResetMixedMethod · 0.76