MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / cleanPluginPath

Function cleanPluginPath

internal/pluginhost/host.go:495–501  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

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

Callers 4

ApplyConfigMethod · 0.85
UnloadPluginMethod · 0.85
pluginIdentityCurrentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected