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

Function getGitConfig

server/server.go:353–357  ·  view source on GitHub ↗
(config_name string, dir string)

Source from the content-addressed store, hash-verified

351}
352
353func getGitConfig(config_name string, dir string) string {
354 args := []string{"config", config_name}
355 out := string(gitCommand(dir, "", args...))
356 return out[0 : len(out)-1]
357}
358
359func updateServerInfo(dir string) []byte {
360 args := []string{"update-server-info"}

Callers 1

getConfigSettingFunction · 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…