Function xComLib::fs::remove_dir
source · pub async fn remove_dir(path: impl AsRef<Path>) -> Result<(), Error>
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<(), Error>
Removes an existing, empty directory.
This is an async version of std::fs::remove_dir
.