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