https://github.com/hrishibawane/libospath
C++ implementation of Python's os.path module
https://github.com/hrishibawane/libospath
library os
Last synced: over 1 year ago
JSON representation
C++ implementation of Python's os.path module
- Host: GitHub
- URL: https://github.com/hrishibawane/libospath
- Owner: hrishibawane
- License: mit
- Created: 2021-02-19T19:56:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-13T14:30:52.000Z (over 5 years ago)
- Last Synced: 2025-01-22T13:26:08.872Z (over 1 year ago)
- Topics: library, os
- Language: C++
- Homepage:
- Size: 46.9 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libospath
C++ counterpart of Python's os.path module. Provides common pathname manipulations and access to filesystem in your C++ code.
## Integration
- Clone the repository - ```git clone https://github.com/hrishibawane/libospath.git```
### Install library
- Run ```sudo ./install.sh```
- Now, the library can be used from anywhere locally.
- Include the header file ```os_path.hpp``` and compile using ```g++ source_file.cpp -lospath```
### Tests
- ```cd tests/src```
- ```make test```
Note: Make sure to install first before running the tests.