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

Function test_local_byte_path_buf

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

Source from the content-addressed store, hash-verified

386
387 #[test]
388 fn test_local_byte_path_buf() {
389 let local = LocalByte::new("src/main.rs", 1, 0);
390 let path_buf = local.path_buf();
391 assert_eq!(path_buf, PathBuf::from("src/main.rs"));
392 }
393
394 #[test]
395 fn test_local_byte_default() {

Callers

nothing calls this directly

Calls 1

path_bufMethod · 0.80

Tested by

no test coverage detected