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

Function op_log_count

nodedb-cluster-tests/tests/array_raft_replication.rs:83–86  ·  view source on GitHub ↗
(shared: &Arc<SharedState>)

Source from the content-addressed store, hash-verified

81}
82
83fn op_log_count(shared: &Arc<SharedState>) -> u64 {
84 use nodedb_array::sync::op_log::OpLog;
85 shared.array_sync_op_log.len().unwrap_or(0)
86}
87
88// ── test: basic 3-node replication ───────────────────────────────────────────
89

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected