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

Function view_history

atomic-core/src/pristine/txn/write/native_derived.rs:497–502  ·  view source on GitHub ↗
(txn: &ReadTxn, view: &ViewState)

Source from the content-addressed store, hash-verified

495 }
496
497 fn view_history(txn: &ReadTxn, view: &ViewState) -> Vec<(u64, NodeId, Merkle)> {
498 txn.iter_changes(view, 0)
499 .unwrap()
500 .collect::<Result<Vec<_>, _>>()
501 .unwrap()
502 }
503
504 #[test]
505 fn complete_snapshots_include_all_rows_and_delegate() {

Calls 2

unwrapMethod · 0.45
iter_changesMethod · 0.45