MCPcopy Index your code
hub / github.com/cortesi/devd / matchStringAny

Function matchStringAny

server.go:92–99  ·  view source on GitHub ↗
(regexps []*regexp.Regexp, s string)

Source from the content-addressed store, hash-verified

90}
91
92func matchStringAny(regexps []*regexp.Regexp, s string) bool {
93 for _, r := range regexps {
94 if r.MatchString(s) {
95 return true
96 }
97 }
98 return false
99}
100
101func formatURL(tls bool, httpIP string, port int) string {
102 proto := "http"

Callers 1

WrapHandlerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected