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

Function test_file_ops_move

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

Source from the content-addressed store, hash-verified

1402
1403 #[test]
1404 fn test_file_ops_move() {
1405 let ops = FileOps::move_file(
1406 test_trunk_id(),
1407 "old/path.txt".to_string(),
1408 "new/path.txt".to_string(),
1409 );
1410
1411 assert!(ops.is_move());
1412 assert_eq!(ops.path(), "new/path.txt");
1413 }
1414
1415 #[test]
1416 fn test_file_ops_edit() {

Callers

nothing calls this directly

Calls 1

test_trunk_idFunction · 0.70

Tested by

no test coverage detected