[−][src]Module libpijul::path
Treating strings as paths. For portability reasons, paths must internally be treated as strings, and converted to paths only by the backend, if required (in-memory backends will typically not need that conversion).
Structs
Components |
Functions
components | Returns an iterator of the non-empty components of a path,
delimited by |
file_name | Returns the file name of the path. if it exists. This function
tries to replicate the behaviour of |
parent | Returns the parent of the path, if it exists. This function tries
to replicate the behaviour of |
pop | Pop the last component off an existing path. |
push | Push a path component on an existing path. Only works if |