MCPcopy Index your code
hub / github.com/git-bug/git-bug / NewGitFileHandler

Function NewGitFileHandler

api/http/git_file_handler.go:23–25  ·  view source on GitHub ↗
(mrc *cache.MultiRepoCache)

Source from the content-addressed store, hash-verified

21}
22
23func NewGitFileHandler(mrc *cache.MultiRepoCache) http.Handler {
24 return &gitFileHandler{mrc: mrc}
25}
26
27func (gfh *gitFileHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
28 var repo *cache.RepoCache

Callers 1

TestGitFileHandlersFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestGitFileHandlersFunction · 0.68