Function ligen::utils::fs::write_file[][src]

pub fn write_file(path: &PathBuf, content: String) -> Result<(), Error>
Expand description

Writes the file content to the specified path. It creates all the parent directories if they don’t exist.