Skip to main content

write

Function write 

Source
pub fn write(target: &Path, config: &Config) -> Result<(), RkError>
Expand description

Write the authored template with TOML-escaped scalar substitutions.

ยงErrors

Returns invalid configuration or I/O failures before or during the atomic write.