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

Function test_tracked_file_directory

atomic-repository/src/tracking/tests.rs:297–302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295
296#[test]
297fn test_tracked_file_directory() {
298 let dir = TrackedFile::new(PathBuf::from("src"), Inode::new(1), true);
299
300 assert_eq!(dir.path, PathBuf::from("src"));
301 assert!(dir.is_directory);
302}
303
304// Error Tests
305

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected