Skip to main content

detect_format

Function detect_format 

Source
pub fn detect_format(dir: &Path) -> Option<Format>
Expand description

Detect which partial format a template directory holds, by probing for the format-defining theme file.