De : Pharo-users [[hidden email]] de la part de Tudor Girba [[hidden email]] 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