MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / delete_op

Function delete_op

nodedb-array/src/sync/apply.rs:319–326  ·  view source on GitHub ↗
(array: &str, op_ms: u64, schema_ms: u64)

Source from the content-addressed store, hash-verified

317 }
318
319 fn delete_op(array: &str, op_ms: u64, schema_ms: u64) -> ArrayOp {
320 ArrayOp {
321 header: header(array, op_ms, schema_ms),
322 kind: ArrayOpKind::Delete,
323 coord: vec![CoordValue::Int64(1)],
324 attrs: None,
325 }
326 }
327
328 #[test]
329 fn apply_put_succeeds() {

Callers 1

Calls 1

headerFunction · 0.70

Tested by 1