libimobiledevice  1.3.0-dirty
API Documentation - Return to Homepage

◆ afc_remove_path_and_contents()

afc_error_t afc_remove_path_and_contents ( afc_client_t client,
const char * path )

Deletes a file or directory including possible contents.

Parameters
clientThe client to use.
pathThe path to delete. (must be a fully-qualified path)
Since
libimobiledevice 1.1.7
Note
Only available in iOS 6 and later.
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.