1#![doc = include_str!("../README.md")]
2
3mod async_file;
6mod atomic;
7mod directory;
8mod error;
9mod file;
10mod temp;
11
12pub use async_file::AsyncFile;
13pub use atomic::{atomic_copy, atomic_write, atomic_write_string};
14pub use directory::{
15 DirectoryEntry, DirectoryEntryKind, DirectoryReader, ensure_dir, remove_dir_all,
16};
17pub use error::{FsError, Operation};
18pub use file::{
19 FileMetadata, metadata, read_bounded, read_string_bounded, read_string_bounded_if_exists,
20 remove_file, remove_if_exists, rename, symlink_metadata, try_exists, write_bytes,
21};
22pub use temp::{TempDir, TempFile};
23
24#[cfg(test)]
25mod tests;