MCPcopy Create free account
hub / github.com/compozy/agh / requestURLString

Function requestURLString

internal/registry/github/client.go:1037–1042  ·  view source on GitHub ↗
(response *http.Response)

Source from the content-addressed store, hash-verified

1035}
1036
1037func requestURLString(response *http.Response) string {
1038 if response == nil || response.Request == nil || response.Request.URL == nil {
1039 return ""
1040 }
1041 return response.Request.URL.String()
1042}
1043
1044func firstNonEmpty(values ...string) string {
1045 for _, value := range values {

Callers 2

prepareRetryResponseMethod · 0.85
checkRateLimitMethod · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected