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

Function map_pristine_error

atomic-repository/src/repository/set_id.rs:27–29  ·  view source on GitHub ↗
(error: atomic_core::pristine::PristineError)

Source from the content-addressed store, hash-verified

25}
26
27fn map_pristine_error(error: atomic_core::pristine::PristineError) -> RepositoryError {
28 RepositoryError::Database(error.to_string())
29}
30
31/// Derive SetId V1 from the canonical effective projection closure.
32pub fn view_set_id<T: ViewTxnT>(txn: &T, view: &ViewState) -> Result<SetId, RepositoryError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected