Skip to main content

co_remove_contents

Function co_remove_contents 

Source
pub async fn co_remove_contents(path: impl AsRef<Path>) -> Result<()>
Available on crate features coroutine and fs only.
Expand description

Async version of remove_contents. Note that this is not fail-fast. If some entry fails to delete, all entries will still be attempted to be deleted.