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