mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-06 00:00:10 +02:00
* create_dir * create_dir_all * hard_link * read_dir * read_link * remove_dir * remove_file * rename * set_permissions that works with path * symlink_metadata * symlink on unix * symlink_dir on windows * symlink_file on windows
13 lines
612 B
Rust
13 lines
612 B
Rust
//! 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;
|