Skip to main content

write_whole

Function write_whole 

Source
pub(crate) fn write_whole(path: &Path, bytes: &[u8]) -> Result<(), LearnError>
Expand description

Writes a file beside its place, then moves it there.