-
Notifications
You must be signed in to change notification settings - Fork 5
The filepath library
tim-hardcastle edited this page Dec 1, 2025
·
1 revision
The path/filepath library wraps around Go's standard path/filepath library, and apart from the use of camelCase works in exactly the same way. So it has functions with the following signatures:
abs(path string) -> string/errorbase(path string) -> stringclean(path string) -> stringdir(path string) -> stringevalSymlinks(path string) -> string/errorext(path string) -> stringfromSlash(path string) -> stringglob(path string) -> string/errorisAbs(path string) -> boolisLocal(path string) -> booljoin(elem ... string) -> stringlocalize(path string) -> string/errormatch(pattern, name string) -> string/errorrel(basepath, targpath string) -> string/errorsplit(path string) -> string, stringsplitList(path string) -> listtoSlash(path string) -> stringvolumeName(path string) -> string
🧿 Pipefish is distributed under the MIT license. Please steal my code and ideas.