MCPcopy Create free account
hub / github.com/chainreactors/spray / WrapWordsFunc

Function WrapWordsFunc

pkg/utils.go:642–646  ·  view source on GitHub ↗
(f func(string) string)

Source from the content-addressed store, hash-verified

640}
641
642func WrapWordsFunc(f func(string) string) func(string) []string {
643 return func(s string) []string {
644 return []string{f(s)}
645 }
646}
647
648func SafeFilename(filename string) string {
649 filename = strings.ReplaceAll(filename, "http://", "")

Callers 1

BuildWordsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected