Skip to main content

truncate_file

Function truncate_file 

Source
pub fn truncate_file(dst: &Path, size: u64) -> Result<()>
Expand description

Truncate or extend a file to the specified size