Function garden::query::tree_context
source · pub fn tree_context(
app_context: &ApplicationContext,
config: &Configuration,
tree: &str,
garden: Option<&str>
) -> Result<TreeContext, GardenError>
Expand description
Return a Result<garden::model::TreeContext, garden::errors::GardenError> when the tree and optional garden are present.