summaryrefslogtreecommitdiffstats
path: root/third_party/rust/tokio-0.1.11/src/fs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/tokio-0.1.11/src/fs.rs')
-rw-r--r--third_party/rust/tokio-0.1.11/src/fs.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/rust/tokio-0.1.11/src/fs.rs b/third_party/rust/tokio-0.1.11/src/fs.rs
new file mode 100644
index 0000000000..689a601368
--- /dev/null
+++ b/third_party/rust/tokio-0.1.11/src/fs.rs
@@ -0,0 +1,12 @@
+//! Asynchronous filesystem manipulation operations.
+//!
+//! This module contains basic methods and types for manipulating the contents
+//! of the local filesystem from within the context of the Tokio runtime.
+//!
+//! Unlike *most* other Tokio APIs, the filesystem APIs **must** be used from
+//! the context of the Tokio runtime as they require Tokio specific features to
+//! function.
+
+pub use tokio_fs::{create_dir, create_dir_all, file, hard_link, metadata, os, read_dir, read_link};
+pub use tokio_fs::{remove_dir, remove_file, rename, set_permissions, symlink_metadata, File};
+pub use tokio_fs::OpenOptions;