MCPcopy Index your code
hub / github.com/github/github-mcp-server / splitTokens

Function splitTokens

pkg/tooldiscovery/search.go:304–311  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

302}
303
304func splitTokens(s string) []string {
305 if s == "" {
306 return nil
307 }
308 return strings.FieldsFunc(s, func(r rune) bool {
309 return r == '_' || r == '-' || r == ' '
310 })
311}

Callers 1

scoreToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected