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

Function test_file_change_moved

atomic-core/src/record/detect.rs:1044–1056  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1042
1043 #[test]
1044 fn test_file_change_moved() {
1045 let change = FileChange::moved(
1046 "new/path.rs",
1047 "old/path.rs",
1048 Inode::ROOT,
1049 Position::ROOT,
1050 false,
1051 None,
1052 );
1053
1054 assert_eq!(change.path, "new/path.rs");
1055 assert!(change.kind.is_moved());
1056 }
1057
1058 #[test]
1059 fn test_file_change_metadata_only() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected