Function gix_tempfile::new

source ยท
pub fn new(
    containing_directory: impl AsRef<Path>,
    directory: ContainingDirectory,
    cleanup: AutoRemove,
) -> Result<Handle<Writable>>
Expand description

A shortcut to Handle::<Writable>::new(), creating a writable temporary file with non-clashing name in a directory.