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

Function map_pristine_error

atomic-repository/src/repository/projection.rs:5–7  ·  view source on GitHub ↗
(error: atomic_core::pristine::PristineError)

Source from the content-addressed store, hash-verified

3use atomic_core::pristine::EffectiveProjectionClosure;
4
5fn map_pristine_error(error: atomic_core::pristine::PristineError) -> RepositoryError {
6 RepositoryError::Database(error.to_string())
7}
8
9/// Build the one canonical visibility closure for a view projection.
10///

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected