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

Function getPackFile

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

Source from the content-addressed store, hash-verified

255}
256
257func getPackFile(hr HandlerReq) {
258 hdrCacheForever(hr.w)
259 sendFile("application/x-git-packed-objects", hr)
260}
261
262func getIdxFile(hr HandlerReq) {
263 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…