// 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 { … }
// 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 { … }