[go: up one dir, main page]

tempfile_in

Function tempfile_in 

Source
pub fn tempfile_in(path: &Path) -> Result<NamedTempFile>
Expand description

Return a NamedTempFile in the specified directory.

Sets the permissions of the temporary file to 0o666, to match the non-temporary file default. ([NamedTempfile] defaults to 0o600.)