fuchsia_fs::directory

Function remove_dir_recursive

Source
pub async fn remove_dir_recursive(
    root_dir: &DirectoryProxy,
    name: &str,
) -> Result<(), EnumerateError>
Expand description

Removes a directory and all of its children. name must be a subdirectory of root_dir.

The async analogue of std::fs::remove_dir_all.