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

Method session_ledger_schema_key

atomic-core/src/pristine/txn/write/mod.rs:430–435  ·  view source on GitHub ↗
(session_id: &str)

Source from the content-addressed store, hash-verified

428 }
429
430 fn session_ledger_schema_key(session_id: &str) -> String {
431 format!(
432 "session_ledger_schema:{}",
433 blake3::hash(session_id.as_bytes()).to_hex()
434 )
435 }
436
437 fn has_current_session_ledger_schema(&self, session_id: &str) -> PristineResult<bool> {
438 let metadata = self.txn.open_table(KG_INDEX_META)?;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected