Info-ZIP Additional timestamp field
# File lib/zip/zip.rb, line 1736 def ==(other) @mtime == other.mtime && @atime == other.atime && @ctime == other.ctime end
# File lib/zip/zip.rb, line 1726 def merge(binstr) binstr == "" and return size, content = initial_parse(binstr) size or return @flag, mtime, atime, ctime = content.unpack("CVVV") mtime and @mtime ||= Time.at(mtime) atime and @atime ||= Time.at(atime) ctime and @ctime ||= Time.at(ctime) end
Generated with the Darkfish Rdoc Generator 2.