MCPcopy Create free account
hub / github.com/ProspectOne/perfops-cli / closeBody

Function closeBody

perfops/client.go:180–185  ·  view source on GitHub ↗
(res *http.Response)

Source from the content-addressed store, hash-verified

178}
179
180func closeBody(res *http.Response) {
181 if res == nil || res.Body == nil {
182 return
183 }
184 res.Body.Close()
185}

Callers 1

doMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected