mirror of https://github.com/koreader/koreader
util: Rewrite makePath (#10111)
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 #10074reviewable/pr10113/r1
parent
dbad14e20b
commit
318a22d913
Loading…
Reference in New Issue