// HasPrefix exists for historical compatibility and should not be used. // // Deprecated: HasPrefix does not respect path boundaries and // does not ignore case when required. func HasPrefix(p, prefix string) bool { … } func splitList(path string) []string { … } func abs(path string) (string, error) { … } func join(elem []string) string { … } func sameWord(a, b string) bool { … }