pub unsafe extern "C" fn tr_sys_path_remove(
    path: *const c_char,
    error: *mut *mut tr_error
) -> u8
Expand description

@brief Portability wrapper for remove ().

@param[in] path Path to file or directory. @param[out] error Pointer to error object. Optional, pass NULL if you are not interested in error details.

@return True on success, false otherwise (with error set accordingly). Directory removal will only succeed if it is empty (contains no other files and directories).