Gio.FileInfo.prototype.set_modification_time

function set_modification_time(mtime: GLib.TimeVal): void {
    // Gjs wrapper for g_file_info_set_modification_time()
}
  

Sets the %G_FILE_ATTRIBUTE_TIME_MODIFIED attribute in the file info to the given time value.

mtime

a GLib.TimeVal.