Skip to main content

read_template_source

Function read_template_source 

Source
pub fn read_template_source(template_name: &str) -> Option<String>
Expand description

Reads a template’s raw source from the templates/ directory, returning None if the file doesn’t exist or can’t be read.