/// Creates a NamedTempFile in the Volta tmp directory
Creates a NamedTempFile in the Volta tmp directory
Creates a NamedTempFile in the Volta tmp directory
pub fn create_staging_file() -> Fallible<NamedTempFile> {
    let tmp_dir = volta_home()?.tmp_dir();
    NamedTempFile::new_in(&tmp_dir).with_context(|_| ErrorDetails::CreateTempFileError {
        in_dir: tmp_dir.to_owned(),
    })
}
pub fn create_staging_file ( ) -> Fallible < NamedTempFile > { let tmp_dir = volta_home ( ) ? . tmp_dir ( ) ; NamedTempFile :: new_in ( & tmp_dir ) . with_context ( | _ | ErrorDetails :: CreateTempFileError { in_dir : tmp_dir . to_owned ( ) , } ) }
Creates a NamedTempFile in the Volta tmp directory
Creates a NamedTempFile in the Volta tmp directory