Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Workspace ¶
type Workspace struct {
Base string // default branch reviews compare against (e.g. origin/main)
Branch string // current branch of the worktree
Dir string // worktree root (git toplevel), or the cwd when not a repo
Home string // user home directory
IsRepo bool // whether Dir is a git worktree
}
Workspace is the single source of truth for where the app operates: the worktree it browses, edits, reviews, and launches sessions in.
Click to show internal directories.
Click to hide internal directories.