Skip to content

Path library for C/C++. Cross-Platform for Linux, FreeBSD, Windows, Baremetal and MacOS. Supports UNIX and Windows path styles on those platforms. And O(N) time complexity. Compatible with nodejs path module.

License

Notifications You must be signed in to change notification settings

lygstate/cpathjoin

Repository files navigation

libcpj - path join library for C/C++

Build Pipeline Build Pipeline Build Pipeline Build Pipeline

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. This is a fork of cwalk

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.

About

Path library for C/C++. Cross-Platform for Linux, FreeBSD, Windows, Baremetal and MacOS. Supports UNIX and Windows path styles on those platforms. And O(N) time complexity. Compatible with nodejs path module.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published