Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
69
func
split(s string) []string {
70
s = strings.Trim(s,
"/"
)
71
if
s ==
""
{
72
return
[]string{}
73
}
74
return
strings.Split(s,
"/"
)
75
}
76
77
func
match(pattern, path []string) bool {
78
pi, si := 0, 0
Callers
4
Match
Method · 0.85
Match
Method · 0.85
Includes
Method · 0.85
replace1
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected