Function fmmap::utils::tokio::open_file_with_truncate_async
source · pub async fn open_file_with_truncate_async<P: AsRef<Path>>(
path: P
) -> Result<File>
Available on crate features
tokio
and async-trait
only.Expand description
Open an existing file and truncate it