zim-tools icon indicating copy to clipboard operation
zim-tools copied to clipboard

Consider use of std::filesystem

Open ThisIsFineTM opened this issue 11 months ago • 4 comments

C++17's std::filesystem would remove the need for a lot of the manual path-handling code. The current path-handling code has some aspects which are fragile. #438 and the assumption made of file vs. directory based on whether or not the path has a trailing '/' in particular.

If usage is approved, I can put in a PR.

ThisIsFineTM avatar Jan 09 '25 03:01 ThisIsFineTM