Module forest_filecoin::utils::io

source ·

Re-exports§

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.