Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGitRoot ¶
FindGitRoot finds the git repository root directory
Types ¶
type Manager ¶
type Manager interface {
List() ([]Worktree, error)
Add(path, branch string, createBranch bool) error
Remove(path string, force bool) error
GetCurrentPath() (string, error)
DeleteBranch(branch string, force bool) error
HasUnpushedCommits(branch string) (bool, int, error)
}
Manager handles git worktree operations
Click to show internal directories.
Click to hide internal directories.