frontmatter_gen::utils::fs

Function create_temp_file

Source
pub async fn create_temp_file(
    prefix: &str,
) -> Result<(PathBuf, File), UtilsError>
Expand description

Creates a new temporary file with the given prefix