Open
Description
Like the one already used in hackage-security
.
We want to have Absolute
rooted Path
s, but also more specific like StoreDir
, or PackageDir
and ProjectDir
which all would make handling paths a bit more robust.
It would helped a lot in my recent sdist refactor. Getting relative to PackageDir
paths is tricky, not sure if I haven't missed any.
I however suggest to store these (file paths) in native way. (Not in POSIX like paths
library does), because I'm quite sure that conversion from Windows to Posix and back won't roundtrip on fancier paths there might be. Therefore we might need separate PosixPath for tarballs etc if we end up needing such notion (and we might, index files...)