-
Notifications
You must be signed in to change notification settings - Fork 6
The path library
Tim Hardcastle edited this page Feb 29, 2024
·
3 revisions
The path
library wraps around Go's standard path
library, and apart from the use of camelCase
works in exactly the same way. So it has functions with the following signatures:
base(p string) -> string
clean(p string) -> string
dir(p string) -> string
ext(p string) -> string
isAbs(p string) -> bool
join(t tuple) -> string
match(pattern, name string) -> bool
split(p string) -> list
🧿 Pipefish is distributed under the MIT license. Please steal my code and ideas.