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

Method del_path_claim

atomic-core/src/pristine/txn/write/path_claim.rs:62–66  ·  view source on GitHub ↗
(&mut self, path: &str, event: &PathClaimEvent)

Source from the content-addressed store, hash-verified

60
61impl PathClaimMutTxnT for WriteTxn<'_> {
62 fn del_path_claim(&mut self, path: &str, event: &PathClaimEvent) -> PristineResult<bool> {
63 let encoded = encode_path_claim_event(event);
64 let mut table = self.txn.open_multimap_table(PATH_CLAIMS)?;
65 Ok(table.remove(path, &encoded)?)
66 }
67
68 fn put_path_claim(&mut self, path: &str, event: &PathClaimEvent) -> PristineResult<bool> {
69 let encoded = encode_path_claim_event(event);

Callers

nothing calls this directly

Calls 2

encode_path_claim_eventFunction · 0.85
removeMethod · 0.65

Tested by

no test coverage detected