Module garden::query[][src]

Expand description

Queries, configuration lookups

Functions

find_tree
garden_trees

Return tree contexts for every garden matching the specified pattern. Parameters:

resolve_trees

Resolve a tree query into a Vec<garden::model::TreeContext>.

tree_context

Return a Result<garden::model::TreeContext, garden::errors::GardenError> when the tree and optional garden are present.

tree_from_name

Find a tree by name Parameters:

tree_from_path

Return a tree context for the specified filesystem path.

trees_from_garden

Return the tree contexts for a garden

trees_from_group

Return the tree contexts for a garden

trees_from_pattern

Find trees matching a pattern Parameters: