Function cap_tempfile::tempdir

source ·
pub fn tempdir(ambient_authority: AmbientAuthority) -> Result<TempDir>
Expand description

Create a new temporary directory.

This corresponds to tempfile::tempdir.

Ambient Authority

This function makes use of ambient authority to access temporary directories.