worktree

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupForBranch

func CleanupForBranch(repoPath, branchName string)

CleanupForBranch removes all worktrees associated with the given branch Silently ignores errors (best-effort cleanup)

func ListAll

func ListAll() map[string][]string

ListAll returns all worktrees under /tmp/maxam

func ListAllForProject added in v0.7.0

func ListAllForProject(workDir string) map[string][]string

ListAllForProject returns all worktrees under /tmp/maxam for a specific project

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL