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

Method iter_binding_ids

atomic-core/src/pristine/txn/write/bindings.rs:17–25  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

15 }
16
17 fn iter_binding_ids(&self) -> PristineResult<Vec<[u8; 32]>> {
18 let table = self.txn.open_table(BINDINGS)?;
19 let mut ids = Vec::new();
20 for row in table.iter()? {
21 let (key, _) = row?;
22 ids.push(*key.value());
23 }
24 Ok(ids)
25 }
26}
27
28impl BindingMutTxnT for WriteTxn<'_> {

Callers

nothing calls this directly

Calls 3

valueMethod · 0.80
iterMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected