Restrict contributes a rule to result.PluginRules so the pruning resolver can pick it up. Exercise the full path.
| 285 | // Restrict contributes a rule to result.PluginRules so the pruning |
| 286 | // resolver can pick it up. Exercise the full path. |
| 287 | type restrictPlugin struct{ rule *platform.Rule } |
| 288 | |
| 289 | func (p restrictPlugin) Name() string { return "secaudit" } |
| 290 | func (p restrictPlugin) Version() string { return "1.0.0" } |
nothing calls this directly
no outgoing calls
no test coverage detected