Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WorktreeDir ¶
WorktreeDir returns the worktrees directory
Types ¶
type Worktree ¶
type Worktree struct {
Name string `json:"name"`
Path string `json:"path"`
OriginalCWD string `json:"originalCWD"`
OriginalBranch string `json:"originalBranch"`
Branch string `json:"branch"`
SessionID string `json:"sessionId"`
CreatedAt time.Time `json:"createdAt"`
}
Worktree represents an active git worktree
func LoadActive ¶
LoadActive loads active worktree for a session
Click to show internal directories.
Click to hide internal directories.