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

Function already_applied_is_idempotency_guard

atomic-core/src/apply/error.rs:717–723  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

715
716 #[test]
717 fn already_applied_is_idempotency_guard() {
718 assert!(LocalApplyError::change_already_applied(hash_a()).is_already_applied());
719 assert!(LocalApplyError::tag_already_applied(hash_a()).is_already_applied());
720
721 // Dependency errors are a different category — don't conflate them.
722 assert!(!LocalApplyError::dependency_missing(hash_a()).is_already_applied());
723 }
724
725 // -- ApplyError wrapping: verify the high-level type correctly delegates.
726

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected