2018-05-02 11:19:58 -07:00
|
|
|
//! 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.
|
|
|
|
|
|
2018-08-01 06:39:27 +02:00
|
|
|
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;
|
2019-02-20 23:38:49 +01:00
|
|
|
pub use tokio_fs::{read, write, ReadFile, WriteFile};
|