-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
Trying write file to archive with compression method set (UZKCompressionMethod.none), but this file in the final archive still have deflated (UZKCompressionMethod.default) compression method.
Example code:
let archive: UZKArchive = try! UZKArchive(url: url)
try! archive.write(data, filePath: path, fileDate: nil, compressionMethod: UZKCompressionMethod.none, password: nil, progress: nil)
Then we can see compression method of file in archive:
archive.listFileInfo().first!.compressionMethod
that will be .default, not .none