Function mkstemp::tempdir
[−]
[src]
pub fn tempdir(template: &str) -> Result<TempDir>
Creates a temp directory based on a particular template Templates are specified with a given number of X's.
Examples
use mkstemp::tempdir; let td = tempdir("/tmp/tmp.XXXXXXX"); println!("{:?}", td.unwrap().dir.as_path());