Skip to content

Compression methods is not working? #79

@denis-ionov

Description

@denis-ionov

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions