MCPcopy Create free account
hub / github.com/246859/AutoToolBox / toolFilter

Function toolFilter

toolbox/toolbox.go:78–86  ·  view source on GitHub ↗
(tools []*Tool, maxAvl Availability)

Source from the content-addressed store, hash-verified

76}
77
78func toolFilter(tools []*Tool, maxAvl Availability) []*Tool {
79 var filtered []*Tool
80 for _, tool := range tools {
81 if tool.Availability <= maxAvl {
82 filtered = append(filtered, tool)
83 }
84 }
85 return filtered
86}
87
88// Tool represents an IDE in ToolBox.
89type Tool struct {

Callers 1

FindTargetToolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected