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

Function test_directory_archive_create

atomic-repository/src/archive.rs:1149–1155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1147
1148 #[test]
1149 fn test_directory_archive_create() {
1150 let temp_dir = TempDir::new().unwrap();
1151 let archive_dir = temp_dir.path().join("archive");
1152
1153 let archive = DirectoryArchive::new(&archive_dir).unwrap();
1154 assert!(archive.root().exists());
1155 }
1156
1157 #[test]
1158 fn test_directory_archive_create_file() {

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected