hi seb

could you add a test or two and a bug entry so that we include it in FS?

Stef

On 25 Feb 2014, at 03:18, Sebastian Sastre <[email protected]> wrote:

> Just made this convenience, sharing:
> 
> Path>>parentUpTo: aParentDirName
>       "Answers the path of the parent dir with name aParentDirName or root if 
> not found."
>       
>       self withParents reversed do:[:dir|
>               dir basename = aParentDirName ifTrue:[^dir]].
>       
>       ^ Path root





Reply via email to