set_modification_time


Description:

[ Version ( deprecated = true , deprecated_since = "2.62" ) ]
public void set_modification_time (TimeVal mtime)

Warning: set_modification_time is deprecated since 2.62.

Sets the g_file_attribute_time_modified and g_file_attribute_time_modified_usec attributes in the file info to the given time value.

Note:

Use set_modification_date_time instead, as TimeVal is deprecated due to the year 2038 problem.

g_file_attribute_time_modified_nsec will be cleared.

Parameters:

this

a FileInfo.

mtime

a TimeVal.




2022 vala-language.org