(path string)
| 493 | } |
| 494 | |
| 495 | func cleanPluginPath(path string) string { |
| 496 | path = strings.TrimSpace(path) |
| 497 | if path == "" { |
| 498 | return "" |
| 499 | } |
| 500 | return filepath.Clean(path) |
| 501 | } |
| 502 | |
| 503 | func (h *Host) retireLoadedPluginLocked(lp *loadedPlugin) { |
| 504 | if h == nil || lp == nil { |
no outgoing calls
no test coverage detected