I think this is a separate object because some filesystems might not provide this information or might provide a different set of information. An external filesystem (FTP, HTTP) might not know the size, creation or modification timestamp. Zip archives might provide different information. I guess that's the reason why this is a separate object. Lukas On 15 February 2010 18:36, stephane ducasse <stephane.ducasse@free.fr> wrote:
|working cache| working := FSDiskFilesystem current working. cache := working / 'package-cache'. cache entry     cache entry creation.   "--> 2010-02-14T10:34:31+00:00"     cache entry modification. "--> 2010-02-14T10:34:31+00:00"     cache entry size
give me access to the file descriptor now I was wondering why we could not have the API of description at the level of FSreference to avoid that navigation code.
 cache creation.   "--> 2010-02-14T10:34:31+00:00"  cache modification. "--> 2010-02-14T10:34:31+00:00"  cache size
I like the way FSFilePluginPrims encapsulate the primitive calls.
Stef _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli http://www.lukas-renggli.ch