garden::query

Function trees_from_pattern

Source
pub fn trees_from_pattern(
    app_context: &ApplicationContext,
    config: &Configuration,
    graft_config: Option<&Configuration>,
    tree: &str,
    garden_name: Option<&GardenName>,
    group: Option<&GroupName>,
) -> Vec<TreeContext>
Expand description

Find trees matching a pattern Parameters:

  • config: &garden::model::Configuration
  • tree: Tree name pattern &str
  • garden_name: Option<garden::model::GardenName>