This structure holds all of the information about a particular Zip Entry as it is contained within the central directory.
# File lib/rex/zip/blocks.rb, line 120 def pack path = @entry.relative_path ret = [ SIGNATURE, ZIP_VERSION ].pack('Vv') ret << [ ZIP_VERSION ].pack('v') ret << @entry.flags.pack ret << @entry.info.pack arr = [] arr << path.length arr << @entry.xtra.length arr << @entry.comment.length arr << @disknum_start arr << @attr_int arr << @entry.attrs arr << @hdr_offset ret << arr.pack('vvvvvVV') ret << path ret << @entry.xtra ret << @entry.comment # digital signature not supported ret end
Generated with the Darkfish Rdoc Generator 2.