On Fri, 15 Jul 2011 19:47:04 +0300, Vladimir Panteleev wrote:

> On Fri, 15 Jul 2011 18:55:58 +0300, Lars T. Kyllingstad
> <public@kyllingen.nospamnet> wrote:
> 
>> 3. There are infinitely many possibilities for a relative path
> 
> The shortest version is most useful. The idea is to do this: 1) find a
> common root
>     (if none exists, return input absolute path as is)
> 2) add as many ../ as necessary to reach common root from base path 3)
> append second part of input path

Thinking some more about it, this algorithm should be easy to implement 
using pathSplitter.  I'll get onto it. :)

-Lars

Reply via email to