mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-09 00:00:08 +02:00
fs: add remove_dir_all and RemoveDirAllFuture (#1325)
Adds the sister function to `remove_dir` and mirrors the `create_dir_all` that's already exposed.
This commit is contained in:
committed by
Carl Lerche
parent
a88308ed9f
commit
12ce75f088
@@ -43,6 +43,7 @@ mod read;
|
||||
mod read_dir;
|
||||
mod read_link;
|
||||
mod remove_dir;
|
||||
mod remove_dir_all;
|
||||
mod remove_file;
|
||||
mod rename;
|
||||
mod set_permissions;
|
||||
@@ -62,6 +63,7 @@ pub use crate::read::{read, ReadFile};
|
||||
pub use crate::read_dir::{read_dir, DirEntry, ReadDir, ReadDirFuture};
|
||||
pub use crate::read_link::{read_link, ReadLinkFuture};
|
||||
pub use crate::remove_dir::{remove_dir, RemoveDirFuture};
|
||||
pub use crate::remove_dir_all::{remove_dir_all, RemoveDirAllFuture};
|
||||
pub use crate::remove_file::{remove_file, RemoveFileFuture};
|
||||
pub use crate::rename::{rename, RenameFuture};
|
||||
pub use crate::set_permissions::{set_permissions, SetPermissionsFuture};
|
||||
|
||||
Reference in New Issue
Block a user