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

Method AnyConfig

repository/gogit.go:271–273  ·  view source on GitHub ↗

AnyConfig give access to a merged local/global configuration

()

Source from the content-addressed store, hash-verified

269
270// AnyConfig give access to a merged local/global configuration
271func (repo *GoGitRepo) AnyConfig() ConfigRead {
272 return mergeConfig(repo.LocalConfig(), repo.GlobalConfig())
273}
274
275// Keyring give access to a user-wide storage for secrets
276func (repo *GoGitRepo) Keyring() Keyring {

Callers 3

GetUserNameMethod · 0.95
GetUserEmailMethod · 0.95
GetCoreEditorMethod · 0.95

Calls 3

LocalConfigMethod · 0.95
GlobalConfigMethod · 0.95
mergeConfigFunction · 0.85

Tested by

no test coverage detected