MCPcopy Index your code
hub / github.com/jetify-com/devbox / EnsureConfig

Function EnsureConfig

internal/devbox/devbox.go:84–90  ·  view source on GitHub ↗
(dir string)

Source from the content-addressed store, hash-verified

82}
83
84func EnsureConfig(dir string) error {
85 err := InitConfig(dir)
86 if err != nil && !errors.Is(err, os.ErrExist) {
87 return err
88 }
89 return nil
90}
91
92func Open(opts *devopt.Opts) (*Devbox, error) {
93 var cfg *devconfig.Config

Callers 2

ensureGlobalConfigFunction · 0.92

Calls 2

IsMethod · 0.80
InitConfigFunction · 0.70

Tested by

no test coverage detected