Function git_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.