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

Function refusal

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

Source from the content-addressed store, hash-verified

1034 }
1035
1036 fn refusal(outcome: GuardOutcome) -> Box<GuardRefusal> {
1037 match outcome {
1038 GuardOutcome::Refuse(refusal) => refusal,
1039 GuardOutcome::Pass(pass) => panic!("expected refusal, got {pass:?}"),
1040 }
1041 }
1042
1043 fn pass_reason(outcome: GuardOutcome) -> GuardPassReason {
1044 match outcome {

Calls

no outgoing calls