[Pharo-project] FileSystem. Possible FSReference rename

Stéphane Ducasse stephane.ducasse at inria.fr
Fri Feb 25 13:37:36 CET 2011


Hi denis

> I think FSLocator and FSReference are same objects:
> FSReference = fileSystem + path
> FSLocator = "some origin object" + path.
> 
> I think "some origin object" can be implemented as special FSRelativeFileSystem. And fileLocator became fileReference.
> 
> Now in "FSLocator vmDirectory" "some origin object"  is symbol. And FileLocator>>resolve method perform some complex stuff through FSResolver hierarchy logic.
> 
> What is purpose of FSResolver hierarchy? 
> What is purpose of #resolve: and #resolve methods? Why so many classes (in FileSystem) implement it: FSLocator, FSReferece, FSPath, FSFileSystem, FSResolver?

I do not know :)
I'm trying to add comments to every single method so that we can get a better understanding of the system and change it.

Stef



More information about the Pharo-project mailing list