MCPcopy Create free account
hub / github.com/docker/cli / specificity

Function specificity

cli/compose/schema/schema.go:187–189  ·  view source on GitHub ↗
(err gojsonschema.ResultError)

Source from the content-addressed store, hash-verified

185}
186
187func specificity(err gojsonschema.ResultError) int {
188 return len(strings.Split(err.Field(), "."))
189}

Callers 1

getMostSpecificErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…