TruePath icon indicating copy to clipboard operation
TruePath copied to clipboard

Canonical / unique path forms

Open ForNeVeR opened this issue 10 months ago • 0 comments

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.

ForNeVeR avatar Apr 21 '24 20:04 ForNeVeR