Function ferru::load_templates_from_disk
[−]
[src]
pub fn load_templates_from_disk<F>(
root_path: &Path,
criteria: F
) -> Result<TemplateMap> where
F: FnMut(&Path) -> bool,
Recursively traverses the specified directory and loads the all files matching the specified criteria as templates.