MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / labelSet

Function labelSet

benchmark/plugins.go:398–404  ·  view source on GitHub ↗
(labels ...string)

Source from the content-addressed store, hash-verified

396}
397
398func hasRiskLabel(evalCase securityEvalCase, label string) bool {
399 _, ok := evalCase.riskLabels[label]
400 return ok
401}
402
403func toString(value any) string {
404 if value == nil {
405 return ""
406 }
407 return strings.TrimSpace(fmt.Sprint(value))

Callers 1

allSecurityCasesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected