anyway, even if there are easier ways to create references, I think Jimmie is right, there are inconsistencies in the protocol. maybe for 3.0? On Jan 8, 2013, at 5:58 PM, Camillo Bruni <camillobruni@gmail.com> wrote:
On 2013-01-08, at 17:55, Max Leske <maxleske@gmail.com> wrote:
On 08.01.2013, at 17:07, Jimmie Houchin <jlhouchin@gmail.com> wrote:
Hello,
I was writing a small utility using FileSystem. I had never used FileSystem before. So I am browsing the code trying to learn where to start and how to use it.
It took me a little while to learn to do something like: fs := FileSystem store: (DiskStore activeClass createDefault).
Why not
fs := FileSystem disk.
??
or:
reference := FileSystem disk referenceTo: '/foo/bar.txt'.
or:
'/foo/bar/plonk.txt' asFileReference '/foo/bar' asFileReference
which creates a FileReference on the disk, the default