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

Function pluginCandidateDirs

internal/pluginstore/install.go:450–455  ·  view source on GitHub ↗
(root string, goos string, goarch string)

Source from the content-addressed store, hash-verified

448}
449
450func pluginCandidateDirs(root string, goos string, goarch string) []string {
451 dirs := make([]string, 0, 2)
452 dirs = append(dirs, filepath.Join(root, goos, goarch))
453 dirs = append(dirs, root)
454 return dirs
455}
456
457func pluginIDFromPath(path string) string {
458 file, ok := pluginFileInfoFromPath(path, "")

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected