tokio::fs

Function 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.