Module forest_filecoin::utils::io
source · Re-exports§
pub use mmap::EitherMmapOrRandomAccessFile;
pub use progress_log::WithProgress;
pub use progress_log::WithProgressRaw;
pub use writer_checksum::*;
Modules§
- mmap 🔒
- It can often take time to perform some operations in Forest and we would like to have a way for logging progress.
Functions§
- Creates a new file with the specified path. The file is created with permissions 0600 and is truncated if it already exists.
- Converts a TOML file represented as a string to
S
- Writes bytes to a specified file. Creates the desired path if it does not exist. Note: The file is created with permissions 0600. Note: The file is truncated if it already exists.