| 302 | } |
| 303 | |
| 304 | type testPluginHandler struct { |
| 305 | pluginsDirectory string |
| 306 | validPrefixes []string |
| 307 | |
| 308 | // lookup results |
| 309 | lookedup bool |
| 310 | lookupErr error |
| 311 | |
| 312 | // execution results |
| 313 | executed bool |
| 314 | executedPlugin string |
| 315 | withArgs []string |
| 316 | withEnv []string |
| 317 | } |
| 318 | |
| 319 | func (h *testPluginHandler) Lookup(filename string) (string, bool) { |
| 320 | h.lookedup = true |
nothing calls this directly
no outgoing calls
no test coverage detected