truncate

Function truncate 

pub(super) fn truncate(path: &Path, new_len: u64) -> Result<()>
Expand description

Truncates path to new_len bytes and fsync.