Commit f8f690f6 authored by patrick piemonte's avatar patrick piemonte

Zip, unzipFile, allow a progress handler to not be provided

parent 4a15a786
......@@ -82,7 +82,7 @@ public class Zip {
- notes: Supports implicit progress composition
*/
public class func unzipFile(_ zipFilePath: URL, destination: URL, overwrite: Bool, password: String?, progress: ((_ progress: Double) -> ())?) throws {
public class func unzipFile(_ zipFilePath: URL, destination: URL, overwrite: Bool, password: String?, progress: ((_ progress: Double) -> ())? = nil) throws {
// File manager
let fileManager = FileManager.default
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment