MCPcopy
hub / github.com/moby/moby / Equal

Function Equal

daemon/internal/versions/compare.go:60–62  ·  view source on GitHub ↗

Equal checks if a version is equal to another

(v, other string)

Source from the content-addressed store, hash-verified

58
59// Equal checks if a version is equal to another
60func Equal(v, other string) bool {
61 return compare(v, other) == 0
62}

Callers 1

rejectLegacyCapabilitiesFunction · 0.92

Calls 1

compareFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…