MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / extractID

Function extractID

proxy_test.go:1205–1211  ·  view source on GitHub ↗
(re *regexp.Regexp, s string)

Source from the content-addressed store, hash-verified

1203)
1204
1205func extractID(re *regexp.Regexp, s string) string {
1206 subm := re.FindStringSubmatch(s)
1207 if len(subm) < 2 {
1208 return ""
1209 }
1210 return subm[1]
1211}
1212
1213type requestRegistry struct {
1214 sync.Mutex

Callers 2

TestKillQueryFunction · 0.85
proxy_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected