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

Method path_claim_schema_version

atomic-core/src/pristine/txn/read.rs:175–181  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

173
174impl PathClaimTxnT for ReadTxn {
175 fn path_claim_schema_version(&self) -> PristineResult<Option<u32>> {
176 let table = self.txn.open_table(PRISTINE_META)?;
177 let version = table
178 .get(PATH_CLAIM_SCHEMA_KEY)?
179 .map(|version| version.value());
180 Ok(version)
181 }
182
183 fn get_path_claims(&self, path: &str) -> PristineResult<Vec<PathClaimEvent>> {
184 let table = self.txn.open_multimap_table(PATH_CLAIMS)?;

Callers

nothing calls this directly

Calls 2

valueMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected