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

Method is_storage

atomic-core/src/apply/error.rs:551–553  ·  view source on GitHub ↗

Check if this is a storage error. # Returns `true` if this is a storage-related error.

(&self)

Source from the content-addressed store, hash-verified

549 ///
550 /// `true` if this is a storage-related error.
551 pub fn is_storage(&self) -> bool {
552 matches!(self, Self::Pristine(_) | Self::Io(_))
553 }
554
555 /// Check if this error indicates the change was already applied.
556 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected