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

Method is_io

atomic-core/src/output/repo/error.rs:275–277  ·  view source on GitHub ↗

Check if this is an I/O error. # Example ```rust use atomic_core::output::repo::OutputError; let err = OutputError::io(std::io::Error::new( std::io::ErrorKind::NotFound, "not found" )); assert!(err.is_io()); ```

(&self)

Source from the content-addressed store, hash-verified

273 /// assert!(err.is_io());
274 /// ```
275 pub fn is_io(&self) -> bool {
276 matches!(self, Self::Io(_))
277 }
278
279 /// Check if this is a working copy error.
280 pub fn is_working_copy(&self) -> bool {

Callers 1

bounded_operationsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected