Path parsing library (for C and C++)
libpath is a small, standalone library, implemented in C with a C and a C++ API, that provides file-system path parsing and comparison, for platform-dependent - Unix and Windows - and platform-independent path manipulation. It is intended to be useful for application-level programming as well as a basis for other libraries.
Detailed instructions - via CMake - are provided in the accompanying INSTALL.md file.
- Comparing API (C and C++);
- Equating API (C and C++);
- Parsing API (C and C++);
Examples are provided in the examples
directory.
Defect reports, feature requests, and pull requests are welcome on https://github.com/synesissoftware/libpath.
If you'd like to help out with the project, please raise an issue via GitHub Page - you'll be very welcome!
libpath has no proper (i.e. runtime / build) dependencies outside the facilities of the C standard library and, for its C++ API, the C++ standard library.
In order to run the test programs, libpath has the following development dependencies:
libpath is released under the 3-clause BSD license. See LICENSE for details.