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

Function pass_reason

atomic-cli/src/commands/git/guard.rs:1043–1048  ·  view source on GitHub ↗
(outcome: GuardOutcome)

Source from the content-addressed store, hash-verified

1041 }
1042
1043 fn pass_reason(outcome: GuardOutcome) -> GuardPassReason {
1044 match outcome {
1045 GuardOutcome::Pass(pass) => pass.reason,
1046 GuardOutcome::Refuse(refusal) => panic!("expected pass, got {refusal:?}"),
1047 }
1048 }
1049
1050 #[test]
1051 fn pure_matrix_allows_unchanged_atomic_advance_and_equivalent_agent_view() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected