/cwalk

Path library for C/C++. Cross-Platform for Linux, FreeBSD, Windows and MacOS. Supports UNIX and Windows path styles on those platforms.

Primary LanguageCMIT LicenseMIT

Build Pipeline Build Pipeline Build Pipeline Build Pipeline codecov

libcwalk - path library for C/C++

This is a lighweight C path manipulation library. It is currently compiled and tested under Linux, FreeBSD, Windows and MacOS. It supports UNIX and Windows path styles on all platforms.

Features

Please have a look at the reference for detailed information. Some features this library includes:

  • cross-platform on Linux, FreeBSD, Windows and MacOS
  • simple interface - just one header
  • combine paths together
  • basename, dirname and extension parsing
  • normalize and cleanup paths
  • resolve and generate relative paths
  • iterate segments of the path
  • and more things...

Building

Building, embedding and testing instructions are available in the documentation (it's very easy).

Docs

All the documentation is available in the the github page of this repository.