Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asim/git-http-backend
/ getTextFile
Function
getTextFile
server/server.go:267–270 ·
view source on GitHub ↗
(hr HandlerReq)
Source
from the content-addressed store, hash-verified
265
}
266
267
func
getTextFile(hr HandlerReq) {
268
hdrNocache(hr.w)
269
sendFile(
"text/plain"
, hr)
270
}
271
272
// Logic helping functions
273
Callers
nothing calls this directly
Calls
2
hdrNocache
Function · 0.85
sendFile
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…