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

Function put_op

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

Source from the content-addressed store, hash-verified

308 }
309
310 fn put_op(array: &str, op_ms: u64, schema_ms: u64) -> ArrayOp {
311 ArrayOp {
312 header: header(array, op_ms, schema_ms),
313 kind: ArrayOpKind::Put,
314 coord: vec![CoordValue::Int64(1)],
315 attrs: Some(vec![CellValue::Null]),
316 }
317 }
318
319 fn delete_op(array: &str, op_ms: u64, schema_ms: u64) -> ArrayOp {
320 ArrayOp {

Calls 1

headerFunction · 0.70

Tested by 5

apply_put_succeedsFunction · 0.56