End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Pathname#lutime
lutime(p1, p2)
ext/pathname/pathname.c
View on GitHub ↗
static VALUE
path_lutime(VALUE self, VALUE atime, VALUE mtime)
{
return rb_funcall(rb_cFile, id_lutime, 3, atime, mtime, get_strpath(self));
}
Update the access and modification times of the file.
Same as Pathname#utime, but does not follow symbolic links.
See File.lutime.