Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Zlib::GzipFile#mtime
mtime
ext/zlib/zlib.c
View on GitHub ↗
static VALUE
rb_gzfile_mtime(VALUE obj)
{
return rb_time_new(get_gzfile(obj)->mtime, (time_t)0);
}
Returns last modification time recorded in the gzip file header.