setModificationTime

open fun setModificationTime(mtime: <Error class: unknown class>)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 2.62.

Use g_file_info_set_modification_date_time() instead, as #GTimeVal is deprecated due to the year 2038 problem.

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.

Parameters

mtime

a #GTimeVal.