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

Function whiteout_path_handles_root_and_nested

atomic-repository/src/oci.rs:384–387  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382
383 #[test]
384 fn whiteout_path_handles_root_and_nested() {
385 assert_eq!(whiteout_path("foo"), ".wh.foo");
386 assert_eq!(whiteout_path("a/b/c"), "a/b/.wh.c");
387 }
388
389 #[test]
390 fn write_image_layout_creates_addressable_blobs() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected