INNER CODE UNIT · Go
manifest
databus23/helm-diff · cmd/helm.go:470
manifest = manifest[:k+1]
}
if noHooks {
hooks = nil
} else {
a := bytes.Index(hooks, []byte("---"))
if a > -1 {
hooks = hooks[a:]
} else {
hooks = nil
}
}
a := bytes.Index(manifest, []byte("---"))
if a > -1 {
manifest = manifest[a:]
}