Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Trees ¶
type Trees struct {
// contains filtered or unexported fields
}
Trees this process works in: the one its launch made, and those /worktree new made, the newest the active one. Each is settled once the app ends
func (*Trees) Active ¶
func (t *Trees) Active() *worktreesv1.Tree
Tree the window works in: the newest /worktree new made, else the launch's own; nil for none
func (*Trees) Made ¶
func (t *Trees) Made(tree *worktreesv1.Tree)
Notes a tree /worktree new made, the one the window works in from now on