tokio::fs

Function remove_dir

Source
pub async fn remove_dir(path: impl AsRef<Path>) -> Result<()>
Available on crate feature fs only.
Expand description

Removes an existing, empty directory.

This is an async version of std::fs::remove_dir.