ULOS Manual Pages - path(3) | Back
NAME
  path - file path utilities
DESCRIPTION
  path is a simple library presenting a few functions for file path manipulation.
FUNCTIONS
  split(path:string): table
    Splits the provided path into segments, compensating for all occurrences of .. and . in the path.
  clean(path:string): string
    Returns a concatenated form of the output of path.split(path).
  concat(...:string): string
    Concatenates all the provided paths with /, then returns the cleaned result.
  canonical(path:string): string
    Returns the absolute, cleaned version of the provided path.  If path does not have a / preceding it, path will concatenate the process working directory ($PWD).
COPYRIGHT
  ULOS Core Libraries copyright (c) 2021 Ocawesome101 under the DSLv2.
REPORTING BUGS
  Bugs should be reported at https://github.com/ocawesome101/oc-ulos/issues.