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

Function commandRuleForPrefix

security/permission.go:130–132  ·  view source on GitHub ↗
(prefix string)

Source from the content-addressed store, hash-verified

128}
129
130func commandRuleForPrefix(prefix string) string {
131 return fmt.Sprintf("%s%s:*)", shellRulePrefix, prefix)
132}
133
134func (ps *PermissionState) ToMap() (map[string]any, error) {
135 if ps == nil {

Callers 3

ConfirmCommandPrefixMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected