FileInfo.setModificationTime

void setModificationTime(glib.time_val.TimeVal mtime)

Sets the [gio.types.FILE_ATTRIBUTE_TIME_MODIFIED] and [gio.types.FILE_ATTRIBUTE_TIME_MODIFIED_USEC] attributes in the file info to the given time value.

[gio.types.FILE_ATTRIBUTE_TIME_MODIFIED_NSEC] will be cleared.

Parameters

mtimea #GTimeVal.

Deprecated

Use [gio.file_info.FileInfo.setModificationDateTime] instead, as

#GTimeVal is deprecated due to the year 2038 problem.