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

Function hasDynamicLibraryExtension

internal/pluginstore/install.go:397–400  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

395}
396
397func hasDynamicLibraryExtension(name string) bool {
398 lowerName := strings.ToLower(name)
399 return strings.HasSuffix(lowerName, ".dylib") || strings.HasSuffix(lowerName, ".so") || strings.HasSuffix(lowerName, ".dll")
400}
401
402type pluginFileInfo struct {
403 ID string

Callers 1

readTargetLibraryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected