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

Function updateServerInfo

server/server.go:359–362  ·  view source on GitHub ↗
(dir string)

Source from the content-addressed store, hash-verified

357}
358
359func updateServerInfo(dir string) []byte {
360 args := []string{"update-server-info"}
361 return gitCommand(dir, "", args...)
362}
363
364func gitCommand(dir string, version string, args ...string) []byte {
365 command := exec.Command(DefaultConfig.GitBinPath, args...)

Callers 1

getInfoRefsFunction · 0.85

Calls 1

gitCommandFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…