MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / validScanToggle

Function validScanToggle

internal/identity/scanconfig.go:43–43  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

41}
42
43func validScanToggle(s string) bool { return s == ScanOff || s == ScanOn }
44
45func validOutboundPolicy(p string) bool {
46 return p == OutboundPolicyOpen || p == OutboundPolicyAllowlist || p == OutboundPolicyDomain

Callers 1

ValidateScanConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected