Module io

Module io 

Source

Re-exports§

pub use mmap::EitherMmapOrRandomAccessFile;
pub use progress_log::WithProgress;
pub use writer_checksum::*;

Modules§

mmap 🔒
progress_log
It can often take time to perform some operations in Forest and we would like to have a way for logging progress.
writer_checksum 🔒

Functions§

create_new_sensitive_file
Creates a new file with the specified path. The file is created with permissions 0600 and is truncated if it already exists.
read_toml
Converts a TOML file represented as a string to S
skip_bytes
Skips n bytes from the reader.
terminal_cleanup
write_new_sensitive_file
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.