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

Function assert_no_checkout

atomic-cli/src/commands/git/real_import_sample.rs:41–49  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

39}
40
41fn assert_no_checkout(root: &Path) {
42 for entry in fs::read_dir(root).unwrap() {
43 assert_eq!(
44 entry.unwrap().file_name(),
45 ".atomic",
46 "source preparation materialized a working file"
47 );
48 }
49}
50
51#[test]
52#[ignore = "manual pinned real-Git sample; requires ATOMIC_REAL_SAMPLE_GIT and ATOMIC_REAL_SAMPLE_ARTIFACT"]

Callers 1

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected