tokio::fs

Function remove_dir_all

source
pub async fn remove_dir_all(path: impl AsRef<Path>) -> Result<()>
Expand description

Removes a directory at this path, after removing all its contents. Use carefully!

This is an async version of std::fs::remove_dir_all