MCPcopy Create free account
hub / github.com/git-bug/git-bug / newGoGitLocalConfig

Function newGoGitLocalConfig

repository/gogit_config.go:20–25  ·  view source on GitHub ↗
(repo *gogit.Repository)

Source from the content-addressed store, hash-verified

18}
19
20func newGoGitLocalConfig(repo *gogit.Repository) *goGitConfig {
21 return &goGitConfig{
22 ConfigRead: &goGitConfigReader{getConfig: repo.Config},
23 ConfigWrite: &goGitConfigWriter{repo: repo},
24 }
25}
26
27func newGoGitGlobalConfig() *goGitConfig {
28 // TODO: replace that with go-git native implementation once it's supported

Callers 1

LocalConfigMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected