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

Function test_file_ops_move

atomic-core/src/change/ops.rs:848–857  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

846
847 #[test]
848 fn test_file_ops_move() {
849 let ops = FileOps::move_file(
850 test_trunk_id(),
851 "old/path.txt".to_string(),
852 "new/path.txt".to_string(),
853 );
854
855 assert!(ops.is_move());
856 assert_eq!(ops.path(), "new/path.txt");
857 }
858
859 #[test]
860 fn test_file_ops_edit() {

Callers

nothing calls this directly

Calls 1

test_trunk_idFunction · 0.70

Tested by

no test coverage detected