const PathSeparator … const PathListSeparator … // IsPathSeparator reports whether c is a directory separator character. func IsPathSeparator(c uint8) bool { … } // splitPath returns the base name and parent directory. func splitPath(path string) (string, string) { … }