MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / temp_dir

Function temp_dir

atomic-core/src/output/filesystem/tests.rs:12–14  ·  view source on GitHub ↗

Create a temporary directory for testing.

()

Source from the content-addressed store, hash-verified

10
11/// Create a temporary directory for testing.
12fn temp_dir() -> TempDir {
13 tempfile::tempdir().expect("Failed to create temp dir")
14}
15
16/// Create a FileSystem rooted at a temporary directory.
17fn temp_fs() -> (TempDir, FileSystem) {

Callers 5

runMethod · 0.85
generateMethod · 0.85
temp_fsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected