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

Struct ClassifierResult

tools/bash/classifier.go:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15)
16
17type ClassifierResult struct {
18 CommandClass CommandClass
19 SafeCommand string
20 Reason string
21}
22
23var privilegePrefixes = map[string]struct{}{
24 "sudo": {}, "doas": {}, "pkexec": {},

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected