The path library - pf-lang/pipefish GitHub Wiki

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