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

/// 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)
}