During the previous Hackweek [0], I have successfully implemented, tested and merged [1] an implementation of the entire C++ standard header
The primary features of the header [5] that should be implemented:
- path (manipulation, testing, catenation)
- directory handling (create, delete, remove, move, copy, traversal, recursive traversal)
- file handling (create, delete, remove, move, copy - links/sockets/states as permitted by HelenOS)
- error handling (exception types, those only require C++ constructs, low priority)
- file types as permitted by HelenOS (e.g. things like is_fifo() might not be possible)
[0] https://hackweek.suse.com/19/projects/helenos-of-the
[1] https://github.com/HelenOS/helenos/pull/171
[2] https://github.com/HelenOS/helenos/tree/master/uspace/lib/cpp
[3] http://helenos.org
[4] https://github.com/helenos/helenos
[5] https://en.cppreference.com/w/cpp/header/filesystem
Looking for hackers with the skills:
This project is part of:
Hack Week 19 Hack Week 20 Hack Week 21 Hack Week 22 Hack Week 23
Activity
Comments
-
over 4 years ago by jjindrak | Reply
Yesterday I finished the last remaining parts of the header. Before an upstream PR is created automated tests need to be added (I foolishly tested everything by hand and now regret it) and one case of standard non-conformance (recursivedirectoryiterator returns entries as they are received by readdir(), but that does not prepend a path prefix relative to the root of the iteration). Other than these two short comings, I am satisfied with managing to implement the entire header in just 5 days and marking it as finished.
Similar Projects