Function forest_filecoin::utils::io::write_new_sensitive_file

source ยท
pub fn write_new_sensitive_file(message: &[u8], path: &Path) -> Result<()>
Expand description

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.