Info-ZIP Extra for UNIX uid/gid
# File lib/zip/extra_field/unix.rb, line 25 def ==(other) @uid == other.uid && @gid == other.gid end
# File lib/zip/extra_field/unix.rb, line 15 def merge(binstr) return if binstr.empty? size, content = initial_parse(binstr) # size: 0 for central directory. 4 for local header return if (!size || size == 0) uid, gid = content.unpack("vv") @uid ||= uid @gid ||= gid end
Generated with the Darkfish Rdoc Generator 2.