MCPcopy Create free account
hub / github.com/jetify-com/devbox / validateConfig

Function validateConfig

internal/devconfig/configfile/file.go:163–176  ·  view source on GitHub ↗
(cfg *ConfigFile)

Source from the content-addressed store, hash-verified

161}
162
163func validateConfig(cfg *ConfigFile) error {
164 fns := []func(cfg *ConfigFile) error{
165 ValidateNixpkg,
166 validateScripts,
167 validateAliases,
168 }
169
170 for _, fn := range fns {
171 if err := fn(cfg); err != nil {
172 return err
173 }
174 }
175 return nil
176}
177
178var whitespace = regexp.MustCompile(`\s`)
179

Callers 1

LoadBytesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected