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

Function projection_error

atomic-repository/src/repository/deferred_tree.rs:109–115  ·  view source on GitHub ↗
(error: TreeProjectionError)

Source from the content-addressed store, hash-verified

107}
108
109fn projection_error(error: TreeProjectionError) -> RepositoryError {
110 match error {
111 TreeProjectionError::Database(message) => RepositoryError::Database(message),
112 TreeProjectionError::IncompleteMetadata(message)
113 | TreeProjectionError::Conflict(message) => RepositoryError::InvalidOperation { message },
114 }
115}
116
117fn desired_tree_paths<F>(
118 ops: &[DeferredTreeOp],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected