Module garden::model

source ·
Expand description

Model objects

Structs

Represent “git worktree list” details queried from Git.
Templates can be used to create trees. They contain a (path-less) tree object which can be used for creating materialized trees.
Trees represent a single worktree
Config files can define a sequence of variables that are iteratively calculated. Variables can reference other variables in their Tree, Garden, and Configuration scopes.

Enums

Represent the different types of Git worktree.

Functions

Print a tree if it exists, otherwise print a missing tree
Print a tree

Type Definitions

Configuration Node IDs
Garden index into config.gardens
Group index into config.groups
Tree index into config.trees