Rhodes框架是否允许我使用档案?

是否可以使用Rhodes框架解压缩档案?支持什么样的档案?     
已邀请:
因为它基于ruby,我认为你可以使用ruby包装器来实现libarchive或ZLib(deflate-algorithm的实现,gzip格式)。如果您想使用纯ruby库,请尝试Zliby,它是Zlib的替代品。 libarchive支持以下存档类型(来源http://code.google.com/p/libarchive/wiki/LibarchiveFormats)   过滤支持      Libarchive 2.6及更高版本支持   阅读时有多个过滤器   档案。 Libarchive 3.0及更高版本   写入时支持多个过滤器   档案。
gzip (read and write, uses zlib)
bzip2 (read and write, uses bzlib)
compress (read and write, uses an internal implementation)
uudecode (read only)
separate command-line compressors with fixed-signature auto-detection
xz and lzma (read and write using liblzma)
lzma (if you lack liblzma, you can get read-only lzma support through the
     lzmadec图书馆;这很可能会   liblzma稳定后立即下降   并广泛提供)       从libarchive 2.7开始,上面的大部分将回归使用   命令行工具,如果库   在构建时不可用。注意   命令行工具是   通常比使用慢   图书馆直接。      存档格式支持
tar (read and write, including GNU extensions)
pax (read and write, including GNU and star extensions)
cpio (read and write, including odc and newc variants)
ISO9660 (read only, including Joliet and Rockridge extensions, with
     一些限制;写支持   从libarchive开始2.9)       Zip(只读,有一些限制,使用zlib;写支持   从libarchive开始2.8)       mtree(读写,使用OpenSSL库创建和   验证加密哈希)       shar(只写)       ar(读写,包括BSD和GNU / SysV变体)       空的(只读;特别注意,没有其他格式可以接受   一个空文件)       raw(只读,从libarchive 2.8开始)       xar(只读,从libarchive 2.8开始)     

要回复问题请先登录注册