cap_primitives/fs/
remove_dir_all.rs

1
2
3
4
5
6
7
8
9
use crate::fs::remove_dir_all_impl;
use std::path::Path;
use std::{fs, io};

/// Removes a directory and all of its contents.
#[inline]
pub fn remove_dir_all(start: &fs::File, path: &Path) -> io::Result<()> {
    remove_dir_all_impl(start, path)
}