Documentation
¶
Index ¶
- func AheadBehind(ctx context.Context, root, base string) (int, int)
- func BranchExists(ctx context.Context, root, branch string) bool
- func DefaultBranch(ctx context.Context, root string) string
- func DeleteBranch(ctx context.Context, root, branch string) error
- func Fetch(ctx context.Context, root string) error
- func Integrated(ctx context.Context, root, base string) string
- func IsDirty(ctx context.Context, root string) bool
- func Root(ctx context.Context, dir string) (string, error)
- func Run(ctx context.Context, dir string, args ...string) (string, error)
- func WorktreeAdd(ctx context.Context, root, path, branch, base string, branchExists bool) error
- func WorktreeRemove(ctx context.Context, root, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WorktreeAdd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.