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

Method source

atomic-repository/src/remote.rs:124–130  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

122
123impl std::error::Error for RemoteError {
124 fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
125 match self {
126 Self::ReadError { source, .. } => Some(source),
127 Self::WriteError { source, .. } => Some(source),
128 _ => None,
129 }
130 }
131}
132
133/// Result type for remote operations.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected