Skip to main content

write

Function write 

Source
pub fn write(plan: &[Planned], force: bool) -> Result<Vec<PathBuf>>
Expand description

Writes the planned files, refusing to replace one that exists unless force is set.

ยงErrors

Fails when a file exists and force is not set, or when a file cannot be written.