MCPcopy Index your code
hub / github.com/databus23/helm-diff / splitTokens

Function splitTokens

diff/structured.go:338–343  ·  view source on GitHub ↗
(tokens []string)

Source from the content-addressed store, hash-verified

336}
337
338func splitTokens(tokens []string) (string, string) {
339 if len(tokens) == 0 {
340 return "", ""
341 }
342 return formatPath(tokens[:len(tokens)-1]), tokens[len(tokens)-1]
343}
344
345func containsKind(list []string, target string) bool {
346 for _, item := range list {

Callers 2

walkPatchFunction · 0.85
diffArrayNodesFunction · 0.85

Calls 1

formatPathFunction · 0.85

Tested by

no test coverage detected