MCPcopy Index your code
hub / github.com/github/docs / doGet

Function doGet

middleware/archived-enterprise-versions.js:188–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186
187 const statsdTags = [`version:${requestedVersion}`]
188 const doGet = () =>
189 got(getProxyPath(req.path, requestedVersion), {
190 throwHttpErrors: false,
191 retry: retryConfiguration,
192 timeout: timeoutConfiguration,
193 })
194 const r = await statsd.asyncTimer(doGet, 'archive_enterprise_proxy', [
195 ...statsdTags,
196 `path:${req.path}`,

Callers

nothing calls this directly

Calls 1

getProxyPathFunction · 0.85

Tested by

no test coverage detected