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

Method get_path_claims

atomic-core/src/pristine/txn/read.rs:183–191  ·  view source on GitHub ↗
(&self, path: &str)

Source from the content-addressed store, hash-verified

181 }
182
183 fn get_path_claims(&self, path: &str) -> PristineResult<Vec<PathClaimEvent>> {
184 let table = self.txn.open_multimap_table(PATH_CLAIMS)?;
185 let mut events = Vec::new();
186 for value in table.get(path)? {
187 let value = value?;
188 events.push(decode_path_claim_event(value.value())?);
189 }
190 Ok(events)
191 }
192
193 fn iter_path_claims(&self) -> PristineResult<Vec<PathClaimEntry>> {
194 let table = self.txn.open_multimap_table(PATH_CLAIMS)?;

Calls 4

decode_path_claim_eventFunction · 0.85
valueMethod · 0.80
getMethod · 0.65
pushMethod · 0.45