Another SAR/DVS feature request

Stephen Pair spair at acm.org
Thu Dec 5 18:03:21 UTC 2002


> If you wrote such a thing, I'd be glad to include it with 
> SARInstaller.

I'd like to, but I'm pressed for time at the moment.  In thinking about
it, it seems to me that the abstraction should be handled as a subclass
of Archive.  Just like we now have ZipArchive and TarArchive, we could
add a DirectoryArchive or similar.  Then SARInstaller could
automatically work with a zip, tar, or directory archive.

There might even be a case here for separating the concepts of the
archive and an archive's access methods and physical structure.  That
way, you could create an archive from a directory, then dump it out to a
zip file, tar file, or another directory on disk.  Similarly, you could
open a zip file as an archive and dump it out in any of those three
formats. 

- Stephen




More information about the Squeak-dev mailing list