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

Function record_map

atomic-repository/src/repository/adoption.rs:316–323  ·  view source on GitHub ↗
(error: super::RecordError)

Source from the content-addressed store, hash-verified

314}
315
316fn record_map(error: super::RecordError) -> RepositoryError {
317 match error {
318 super::RecordError::Repository(inner) => inner,
319 other => RepositoryError::InvalidOperation {
320 message: format!("shim adoption snapshot capture failed: {other}"),
321 },
322 }
323}
324
325/// The conversion policy content key for one capture boundary.
326fn policy_root_for_capture(root: &std::path::Path) -> Result<String, RepositoryError> {

Calls

no outgoing calls

Tested by

no test coverage detected