Skip to main content

write

Function write 

Source
pub fn write(dest: &Path, raw: &[u8], origin: &Origin) -> Result<()>
Expand description

Write a profile to dest, with where it came from.

Through a temporary file in the same directory and a rename, so an interrupted run leaves the previous profile or the new one, never half of one that parses as a function set with most of its functions missing.