Olf Info-ZIP Extra for UNIX uid/gid and file timestampes
# File lib/zip/extra_field/old_unix.rb, line 29 def ==(other) @uid == other.uid && @gid == other.gid && @atime == other.atime && @mtime == other.mtime end
# File lib/zip/extra_field/old_unix.rb, line 17 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) atime, mtime, uid, gid = content.unpack("VVvv") @uid ||= uid @gid ||= gid @atime ||= atime @mtime ||= mtime end
Generated with the Darkfish Rdoc Generator 2.