MCPcopy Create free account
hub / github.com/docker/secrets-engine / Includes

Method Includes

x/secrets/pattern.go:104–109  ·  view source on GitHub ↗
(other Pattern)

Source from the content-addressed store, hash-verified

102}
103
104func (p pattern) Includes(other Pattern) bool {
105 otherParts := split(other.String())
106 patternParts := split(string(p))
107
108 return match(patternParts, otherParts)
109}
110
111func (p pattern) String() string {
112 return string(p)

Callers

nothing calls this directly

Calls 3

splitFunction · 0.85
matchFunction · 0.85
StringMethod · 0.65

Tested by

no test coverage detected