Function tokio::fs::remove_dir
source ยท pub async fn remove_dir(path: impl AsRef<Path>) -> Result<()>
Expand description
Removes an existing, empty directory.
This is an async version of std::fs::remove_dir
.
pub async fn remove_dir(path: impl AsRef<Path>) -> Result<()>
Removes an existing, empty directory.
This is an async version of std::fs::remove_dir
.