MCPcopy Create free account
hub / github.com/compose-spec/compose-go / Validate

Function Validate

validation/validation.go:39–41  ·  view source on GitHub ↗
(dict map[string]any)

Source from the content-addressed store, hash-verified

37}
38
39func Validate(dict map[string]any) error {
40 return check(dict, tree.NewPath())
41}
42
43func check(value any, p tree.Path) error {
44 for pattern, fn := range checks {

Callers 1

loadYamlModelFunction · 0.92

Calls 2

NewPathFunction · 0.92
checkFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…