MCPcopy Create free account
hub / github.com/ByteYellow/AgentProvenance / sortedForbidden

Function sortedForbidden

internal/intent/diff.go:228–235  ·  view source on GitHub ↗
(m map[EffectKind]bool)

Source from the content-addressed store, hash-verified

226}
227
228func sortedForbidden(m map[EffectKind]bool) []EffectKind {
229 var out []EffectKind
230 for k := range m {
231 out = append(out, k)
232 }
233 sort.Slice(out, func(i, j int) bool { return out[i] < out[j] })
234 return out
235}
236
237func statusRank(s string) int {
238 switch s {

Callers 1

DiffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected