Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
441
func
defaultConfig() *ghmock.ConfigMock {
442
cfg := config.NewFromString(
""
)
443
cfg.Set(
"nonsense.com"
,
"oauth_token"
,
"BLAH"
)
444
return
cfg
445
}
Callers
2
Test_OverrideBaseRepo
Function · 0.85
TestNewGitClient
Function · 0.85
Calls
2
NewFromString
Function · 0.92
Set
Method · 0.65
Tested by
no test coverage detected