mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
318a22d913
The previous iteration, besides failing to handle leaf-only input, was relying on splitFilePathName, which just doesn't do what's required to incrementally build the directory tree the right way around ;). This should more closely match mkdir -p, i.e., it will *fail* if any part (or all of it) of the path exists but is *not* a directory. Re #10074