Try

aFileReference parent

Thierry
________________________________
De : Pharo-users [pharo-users-boun...@lists.pharo.org] de la part de Tudor 
Girba [tu...@tudorgirba.com]
Date d'envoi : vendredi 31 janvier 2014 21:48
À : Any question about pharo is welcome
Objet : [Pharo-users] finding the parent of a filereference

Hi,

I would like to find the parent of a FileReference. For example:

/a/b/c ==> /a/b

I could not find any straightforward way. The one I found was to go via the 
path and do:

aFileReference path withParents reverse second asFileReference

Is there no other way?

Cheers,
Doru

--
www.tudorgirba.com<http://www.tudorgirba.com>

"Every thing has its own flow"

Reply via email to