Virtual access to contents of compressed archive?

Would there happen to be some cool module or extension out there that
could take a compressed archive (tarball, zip, whatever… I’m
open-minded) and provide a virtual directory and file i/o interface to
it? That is, allow access and modification of the contents from within
the program, while not actually extracting the contents to another file?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 17.10.2010 04:03, schrieb Terry M.:

Would there happen to be some cool module or extension out there that
could take a compressed archive (tarball, zip, whatever… I’m
open-minded) and provide a virtual directory and file i/o interface to
it? That is, allow access and modification of the contents from within
the program, while not actually extracting the contents to another file?

There’s the rubyzip gem ( http://rubygems.org/gems/rubyzip ), which
provides a module Zip::ZipFileSystem which does this I think. As the
name implies, this is for ZIP files.

Vale,
Marvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMuqZKAAoJEGrS0YjAWTKVPnkH/jrtqZXM+OaftQ6817fZxzwy
qdrGpLZKSaPIbEoCsscV2AhCKrmsH5rfMghM5kCGipj/b/kj3axZOi5Q6QnZMCG8
gcZY1c/kira3Nk/Z/rheBGm0x8hm/0Mim4XJ+If/u9rc3ZNTPs3xY8APSST5LgpE
ZrwmNfDoPwnbjvx3bXKubaG2yjUvKl8OC47rFItU79qb6kvGvf0ZAQ7dUgcXVUA+
bsPMZCiNedNUwqQ6tXTTyeV9grDaHyD8htK4NQgxmV4BZ6erpQuvu64quV6z+pTL
sAlI11+WZkSQBcRqNoV4JaFESztRUB399G4qIE7QZxmHX52QZTH3UO1kb0Vip/Y=
=YjeP
-----END PGP SIGNATURE-----

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs