Canonical / unique path forms
ForNeVeR opened this issue · 0 comments
ForNeVeR commented
We should introduce a method that is allowed to perform disk IO and converts a path to its "canonical" / "unique" form.
On case-insensitive file systems, it should convert the path to the correct / disk case.
Also, it should resolve symlinks and provide an option to resolve or ignore the symlinks on the go.
I am looking to design it similarly to File::getCanonicalPath
or maybe Path.toRealPath
in OpenJDK.