2 ms·
That's not really resolving .. though is it? You need both the original path and the output of this function, and one of them always still has .. in it. Intere
by IshKebab 4y ago
That's not really resolving .. though is it? You need both the original path and the output of this function, and one of them always still has .. in it.
Interesting nonetheless; thanks.
- kazinator 4y agoIt does; for instance: 2> (rel-path "a/../b/../c/.." "f/../g") "g"