MCPcopy Index your code
hub / github.com/cli/cli / defaultConfig

Function defaultConfig

pkg/cmd/factory/default_test.go:441–445  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

439}
440
441func defaultConfig() *ghmock.ConfigMock {
442 cfg := config.NewFromString("")
443 cfg.Set("nonsense.com", "oauth_token", "BLAH")
444 return cfg
445}

Callers 2

Test_OverrideBaseRepoFunction · 0.85
TestNewGitClientFunction · 0.85

Calls 2

NewFromStringFunction · 0.92
SetMethod · 0.65

Tested by

no test coverage detected