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

Function test_file_ops_delete

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

Source from the content-addressed store, hash-verified

1393
1394 #[test]
1395 fn test_file_ops_delete() {
1396 let ops = FileOps::delete(test_trunk_id(), "old.txt".to_string());
1397
1398 assert!(ops.is_delete());
1399 assert!(!ops.is_create());
1400 assert_eq!(ops.path(), "old.txt");
1401 }
1402
1403 #[test]
1404 fn test_file_ops_move() {

Callers

nothing calls this directly

Calls 1

test_trunk_idFunction · 0.70

Tested by

no test coverage detected