Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_exists_directory
Function
test_exists_directory
atomic-core/src/output/filesystem/tests.rs:109–114 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
107
108
#[test]
109
fn test_exists_directory() {
110
let (dir, fs) = temp_fs();
111
std::fs::create_dir(dir.path().join(
"subdir"
)).unwrap();
112
113
assert!(fs.exists(
"subdir"
));
114
}
115
116
#[test]
117
fn test_is_directory() {
Callers
nothing calls this directly
Calls
3
temp_fs
Function · 0.85
unwrap
Method · 0.45
path
Method · 0.45
Tested by
no test coverage detected