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

Function test_deep_path

atomic-core/src/change/local.rs:476–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

474
475 #[test]
476 fn test_deep_path() {
477 let local = Local::new("a/b/c/d/e/f.txt", 1);
478 assert_eq!(local.file_name(), Some("f.txt"));
479 assert_eq!(local.parent(), Some("a/b/c/d/e"));
480 }
481
482 #[test]
483 fn test_max_values() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected