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

Function header

nodedb-array/src/sync/op_codec.rs:53–62  ·  view source on GitHub ↗
(array: &str, ms: u64)

Source from the content-addressed store, hash-verified

51 }
52
53 fn header(array: &str, ms: u64) -> ArrayOpHeader {
54 ArrayOpHeader {
55 array: array.into(),
56 hlc: hlc(ms),
57 schema_hlc: hlc(ms),
58 valid_from_ms: 0,
59 valid_until_ms: -1,
60 system_from_ms: ms as i64,
61 }
62 }
63
64 fn put_op(array: &str, ms: u64) -> ArrayOp {
65 ArrayOp {

Callers 3

put_opFunction · 0.70
delete_opFunction · 0.70
erase_opFunction · 0.70

Calls 1

hlcFunction · 0.70

Tested by

no test coverage detected