Re: [Pharo-project] FileSystem question

2010-02-16 Thread Stéphane Ducasse
Hi colin You confirmed what I like :) But my question was more about moving entry API to FSReference API. |working cache| working := FSDiskFilesystem current working. cache := working / 'package-cache'. cache entry cache entry creation. -- 2010-02-14T10:34:31+00:00 cache

Re: [Pharo-project] FileSystem question

2010-02-16 Thread Colin Putney
On 2010-02-15, at 9:36 AM, stephane ducasse 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

[Pharo-project] FileSystem question

2010-02-15 Thread stephane ducasse
|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

Re: [Pharo-project] FileSystem question

2010-02-15 Thread Lukas Renggli
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

Re: [Pharo-project] FileSystem question

2010-02-15 Thread Colin Putney
stephane ducasse stephane.duca...@free.fr wrote: I like the way FSFilePluginPrims encapsulate the primitive calls. Lukas Renggli replied: I think this is a separate object because some filesystems might not provide this information or might provide a different set of information. An

Re: [Pharo-project] FileSystem question

2010-02-14 Thread Lukas Renggli
Are there some examples (not tests)? Mason and Monticello 2 use it, as far as I know. What is the difference between FSReference and FSPath? Did you read the class comments? FSPath: I an abstract filesystem path, independent of the string representation used to describe paths on a specific

Re: [Pharo-project] FileSystem question

2010-02-14 Thread Stéphane Ducasse
Of course I read them :) this is the first thing I do. Are there some examples (not tests)? Mason and Monticello 2 use it, as far as I know. sure Now I mean little examples in the sense of a little tutorial (see below the rio one). I will probably start to write something like that for

[Pharo-project] FileSystem question

2010-02-12 Thread Stéphane Ducasse
I'm trying to move some of the examples of Coral from rio to filesystem and I get some questions. Are there some examples (not tests)? What is the difference between FSReference and FSPath? For example how can I print in the Transcript all the files in my current dir? Stef

Re: [Pharo-project] FileSystem question

2010-02-12 Thread Henrik Johansen
Den 12.02.2010 16:18, skrev Stéphane Ducasse: I'm trying to move some of the examples of Coral from rio to filesystem and I get some questions. Are there some examples (not tests)? What is the difference between FSReference and FSPath? For example how can I print in the Transcript all