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

Function test_tracked_file_clone

atomic-core/src/record/workflow/collect.rs:639–645  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

637
638 #[test]
639 fn test_tracked_file_clone() {
640 let pos = Position::new(NodeId::new(1), ChangePosition::new(0));
641 let file = TrackedFile::new("test.txt", Inode::new(10), pos);
642 let cloned = file.clone();
643
644 assert_eq!(file, cloned);
645 }
646
647 #[test]
648 fn test_tracked_file_debug() {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected