Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_exists
Function
test_exists
atomic-core/src/output/memory.rs:895–901 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
893
894
#[test]
895
fn test_exists() {
896
let wc = Memory::new();
897
assert!(!wc.exists(
"test.txt"
));
898
899
wc.add_file(
"test.txt"
, b
""
);
900
assert!(wc.exists(
"test.txt"
));
901
}
902
903
#[test]
904
fn test_is_directory() {
Callers
nothing calls this directly
Calls
1
add_file
Method · 0.45
Tested by
no test coverage detected