Module garden::query

source ·
Expand description

Queries, configuration lookups

Functions

Return tree contexts for every garden matching the specified pattern. Parameters:
Resolve a tree query into a Vec<garden::model::TreeContext>.
Return a path that that is either the tree’s path or the tree’s shared worktree path.
Return a Result<garden::model::TreeContext, garden::errors::GardenError> when the tree and optional garden are present.
Find a tree by name Parameters:
Return a tree context for the specified path string.
Return a tree context for the specified path.
Return the name of an existing tree from an absolute path.
Return the name of an existing tree from the specified path.
Return the tree contexts for a garden
Return the tree contexts for a garden
Find trees matching a pattern Parameters: