Module render

Source
Expand description

Module containing functions for rendering templates

Traits§

Create
Trait allowing us to create dirs/templates/files.

Functions§

create_file
Function to write a file from a static string
render_dirs
Render a list of directories, substituting in templates
render_file
Render a static string and write it to file
render_files
Create all the files, and return a list of files that have been created suitable for insertion into a HashBuilder
render_templates
render a <Vec<String>> of templates, doing nothing if it’s empty.
write_file_plain
Write a file from a static string