summaryrefslogtreecommitdiff
path: root/common/path.h
Commit message (Collapse)AuthorAgeFilesLines
* path: Add p11_path_canon() functionStef Walter2013-07-031-0/+2
| | | | Cleans up a filename with readable characters.
* path: Add p11_path_prefix() functionStef Walter2013-07-031-0/+3
| | | | | Checks if a wellformed path is identical to or a prefix of another path.
* path: Add p11_path_parent() functionStef Walter2013-06-141-0/+2
| | | | | Gets the parent element of the path, removing the last component. Handles trailing and duplicate path separators correctly.
* More compatible path munging and handling codeStef Walter2013-04-031-0/+62
Centralize the path handling code, so we can remove unixy assumptions and have a chance of running on Windows. The current goal is to run all the tests on Windows. Includes some code from LRN <lrn1986@gmail.com> https://bugs.freedesktop.org/show_bug.cgi?id=63062