MCPcopy Create free account
hub / github.com/cli/cli / NewConfig

Function NewConfig

internal/config/config.go:41–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

MainFunction · 0.92

Calls 2

fallbackConfigFunction · 0.85
ReadMethod · 0.45

Tested by 1