pub fn with_temp_dir<F: FnOnce(&TempDir)>(callback: F) -> Result<()>
Expand description

Runs a closure with a temporary directory argument.