[Pharo-project] FSFileSystem: modification date

Camillo Bruni camillo.bruni at inria.fr
Sat Jan 28 01:42:29 CET 2012

Hi Deby,

Open a bug report :) I think the memory FS should handle the modification / creation dates exactly as it would on disk...


file := (fs/'hello') withExtension: 'txt'

can be written as 

file := (fs/'hello') , 'txt'


On 2012-01-27, at 23:33, Débora Fortini wrote:
> While using FileSystem I found that the memory storage doesn't save
> the modification date. Here is an example of what is failing:
> 	fs := FSFilesystem memory.
> 	file := (fs/'hello') withExtension: 'txt'.
> 	file fileStreamDo: [ :stream | stream nextPutAll: 'foo' ].
> 	file entry modification  ---> 1901-01-01T00:00:00-03:00
> This is a little awkward, because I want to use the memory storage to
> write tests...
> Should I open a bug entry? isn't it a bug?
> Thank you in advance!
> Deby

More information about the Pharo-project mailing list