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

Function create_temp_dir

atomic-repository/src/changestore/tests.rs:11–13  ·  view source on GitHub ↗

Create a temporary directory for testing.

()

Source from the content-addressed store, hash-verified

9
10/// Create a temporary directory for testing.
11fn create_temp_dir() -> TempDir {
12 TempDir::new().expect("Failed to create temp directory")
13}
14
15/// Create a test change store in a temporary directory.
16fn create_test_store() -> (ChangeStore, TempDir) {

Callers 3

create_test_storeFunction · 0.85
test_cache_evictionFunction · 0.85
test_from_rootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected