Documentation
¶
Overview ¶
Package worktree manages Git worktree metadata for parallel agent work.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Allocation ¶
type Allocation struct {
ID string `json:"id"`
Path string `json:"path"`
Ref string `json:"ref"`
CreatedAt time.Time `json:"created_at"`
SymlinkDirectories []string `json:"symlink_directories,omitempty"`
SparsePaths []string `json:"sparse_paths,omitempty"`
}
func Allocate ¶
func Allocate(workspace, name string) (Allocation, error)
func AllocateWithOptions ¶
func AllocateWithOptions(workspace, name string, options Options) (Allocation, error)
func List ¶
func List(workspace string) ([]Allocation, error)
func Load ¶
func Load(workspace, id string) (Allocation, error)
Click to show internal directories.
Click to hide internal directories.