Jimmie Houchin 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).
It would be nice if there were an instance creation method like FileSystem createDefault which would do the above.
My utility was renaming some files. Once I had acquired a FileSystemDirectoryEntry instance I needed to examine the name.
I see #basename and #fullName. As I browse other classes I see #childNamesAt: and #pathName, etc.
I was just curious why #basename and not #baseName?
Thanks.
Jimmie
Perhaps wide use of 'basename' as a single word has been previously established ? http://en.wikipedia.org/wiki/Basename