kubernetes/staging/src/k8s.io/apiserver/pkg/storage/cacher/util.go

// hasPathPrefix returns true if the string matches pathPrefix exactly, or if is prefixed with pathPrefix at a path segment boundary
func hasPathPrefix(s, pathPrefix string) bool {}