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

Method source

atomic-core/src/output/repo/file.rs:484–492  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

482
483impl<WE: std::fmt::Debug + std::error::Error + 'static> std::error::Error for FileOutputError<WE> {
484 fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
485 match self {
486 Self::Graph(e) => Some(e),
487 Self::Io(e) => Some(e),
488 Self::WorkingCopy(e) => Some(e),
489 Self::Output(e) => Some(e),
490 _ => None,
491 }
492 }
493}
494
495impl<WE> From<std::io::Error> for FileOutputError<WE> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected