deleteDownloadFiles

private fun NSFileManager.deleteDownloadFiles(destinationPath: String, temporaryPath: String)(source)

Removes stale final and temporary model archive files before retrying or after cancellation.

Receiver

File manager that owns the app storage mutation.

Author

Dmitriy Moroz

Parameters

destinationPath

Final model archive path.

temporaryPath

Temporary download path used before finalization.