FileInfo.setModificationTime

Sets the G_FILE_ATTRIBUTE_TIME_MODIFIED and G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC attributes in the file info to the given time value.

G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC will be cleared.

More...
class FileInfo
void
setModificationTime

Parameters

mtime glib.time_val.TimeVal

a #GTimeVal.

Detailed Description

Deprecated: Use gio.file_info.FileInfo.setModificationDateTime instead, as #GTimeVal is deprecated due to the year 2038 problem.