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

Function test_file_ops_delete

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

Source from the content-addressed store, hash-verified

1173
1174 #[test]
1175 fn test_file_ops_delete() {
1176 let ops = FileOps::delete(test_trunk_id(), "old.txt".to_string());
1177
1178 assert!(ops.is_delete());
1179 assert!(!ops.is_create());
1180 assert_eq!(ops.path(), "old.txt");
1181 }
1182
1183 #[test]
1184 fn test_file_ops_move() {

Callers

nothing calls this directly

Calls 1

test_trunk_idFunction · 0.70

Tested by

no test coverage detected