[Pharo-users] pathSegments of workingDirectory?

David Richards david.i.richards.iii at gmail.com
Wed Feb 13 21:56:18 EST 2019


Hi community,

Consider:

| file |
file := FileLocator workingDirectory .
file fullName .
"==> '/Users/dr/Documents/Pharo/images/Study (Pharo 7.0 - 64bit stable)'"
file pathSegments .
"==> #()"

How do we obtain path segments for the working directory?

Is this an edge case where pathSegments does not return a semantically
consistent value?

Thanks
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20190213/ebde1822/attachment.html>


More information about the Pharo-users mailing list