Method

GioFileInfoset_access_date_time

since: 2.70

Declaration

void
g_file_info_set_access_date_time (
  GFileInfo* info,
  GDateTime* atime
)

Description

Sets the G_FILE_ATTRIBUTE_TIME_ACCESS and G_FILE_ATTRIBUTE_TIME_ACCESS_USEC attributes in the file info to the given date/time value.

G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC will be cleared.

Available since: 2.70

Parameters

atime

Type: GDateTime

A GDateTime.

The data is owned by the caller of the function.