MCPcopy Create free account
hub / github.com/asim/git-http-backend / getLooseObject

Function getLooseObject

server/server.go:252–255  ·  view source on GitHub ↗
(hr HandlerReq)

Source from the content-addressed store, hash-verified

250}
251
252func getLooseObject(hr HandlerReq) {
253 hdrCacheForever(hr.w)
254 sendFile("application/x-git-loose-object", hr)
255}
256
257func getPackFile(hr HandlerReq) {
258 hdrCacheForever(hr.w)

Callers

nothing calls this directly

Calls 2

hdrCacheForeverFunction · 0.85
sendFileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…