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

Function test_create_dir_all

atomic-core/src/output/memory.rs:935–943  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

933
934 #[test]
935 fn test_create_dir_all() {
936 let wc = Memory::new();
937 wc.create_dir_all("a/b/c/d").unwrap();
938
939 assert!(wc.is_directory("a"));
940 assert!(wc.is_directory("a/b"));
941 assert!(wc.is_directory("a/b/c"));
942 assert!(wc.is_directory("a/b/c/d"));
943 }
944
945 #[test]
946 fn test_remove_path_file() {

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
create_dir_allMethod · 0.45

Tested by

no test coverage detected