mirror of
https://github.com/casey/just.git
synced 2024-11-23 11:04:09 +03:00
7 lines
176 B
Rust
7 lines
176 B
Rust
pub(crate) fn tempdir() -> tempfile::TempDir {
|
|
tempfile::Builder::new()
|
|
.prefix("just-test-tempdir")
|
|
.tempdir()
|
|
.expect("failed to create temporary directory")
|
|
}
|