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

Function split

x/secrets/identifiers.go:69–75  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

67}
68
69func split(s string) []string {
70 s = strings.Trim(s, "/")
71 if s == "" {
72 return []string{}
73 }
74 return strings.Split(s, "/")
75}
76
77func match(pattern, path []string) bool {
78 pi, si := 0, 0

Callers 4

MatchMethod · 0.85
MatchMethod · 0.85
IncludesMethod · 0.85
replace1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected