Spec-Zone.ru › Tokio

Function remove_dir_all

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

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

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

MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/fs/fn.remove_dir_all.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API