libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ afc_set_file_time()

afc_error_t afc_set_file_time ( afc_client_t  client,
const char *  path,
uint64_t  mtime 
)

Sets the modification time of a file on the device.

Parameters
clientThe client to use to set the file size.
pathPath of the file for which the modification time should be set.
mtimeThe modification time to set in nanoseconds since epoch.
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.