[ENH] Resources

Patrick Mauritz oxygene at studentenbude.ath.cx
Tue May 25 13:20:32 UTC 2004

Am Dienstag, 25. Mai 2004 14:36 schrieb Russell Penney:
> ( RURI fromString: './file3.zip/file1.txt' ) asAbsolute resource contents
> So "file3.zip#file1.txt" is more appropriate and in line with the http

so what's with a file called
 - file.zip#first_example.txt
 - a reiserfs4 file file.zip, with extended attributes
   (which you get at file.zip/attribute)
 - file1.zip#file2.zip#file3.zip/file4.zip#finalfile.txt

of course, that's a bit far-fetched, but seamless jumping between directory 
systems doesn't necessarily make things easier

maybe it would be more appropriate to define multiple directory roots, where, 
in windows there would be one per drive, in unix one for the whole tree by 
default and virtual directory hierarchies just get a new directory root?

so, it would require an explicit "open" of the zip, which returns that new 
directory root, so work on that is possible.

it probably would also allow for new file types to be supported without 
changing your parser more easily.

patrick mauritz

More information about the Squeak-dev mailing list