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

Function NewConfig

internal/config/config.go:40–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38)
39
40func NewConfig() (gh.Config, error) {
41 c, err := ghConfig.Read(fallbackConfig())
42 if err != nil {
43 return nil, err
44 }
45 return &cfg{c}, nil
46}
47
48// Implements Config interface
49type cfg struct {

Callers 2

MainFunction · 0.92

Calls 2

fallbackConfigFunction · 0.85
ReadMethod · 0.45

Tested by 1