Skip to main content

extract_template_stem

Function extract_template_stem 

Source
pub fn extract_template_stem(path: &Path) -> String
Expand description

Extract the template stem (filename without extensions) from a path.

For example, review.tmpl.mdreview, path/to/check.tmpl.mdcheck.