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

Method is_already_applied

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

Check if this error indicates the change was already applied. # Returns `true` if the change or tag was already applied.

(&self)

Source from the content-addressed store, hash-verified

406 ///
407 /// `true` if the change or tag was already applied.
408 pub fn is_already_applied(&self) -> bool {
409 matches!(
410 self,
411 Self::ChangeAlreadyApplied { .. } | Self::TagAlreadyApplied { .. }
412 )
413 }
414
415 /// Check if this error indicates data corruption.
416 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected