Skip to main content

remove_dir_all

Function remove_dir_all 

Source
pub fn remove_dir_all(
    path: impl AsRef<Path>,
    cap: &impl Has<FsWrite>,
) -> Result<(), CapSecError>
Expand description

Recursively deletes a directory and all its contents. Requires FsWrite permission.