Skip to main content

write_relocated

Function write_relocated 

Source
pub fn write_relocated(path: &Path, content: &str) -> Result<()>
Expand description

Write the relocated config content at path: parent folders created, the file 0600 on Unix, through a temporary file and a rename so it is never briefly readable.