Skip to content

archive/zip: not possible to specify deflate compression level #8359

Description

@gopherbot

by peter.waller:

Discussion link:

https://groups.google.com/forum/#!topic/golang-dev/WtYAcfgPNBw/discussion

There is a TODO to support specifying the compression level.

https://code.google.com/p/go/source/browse/src/pkg/archive/zip/writer.go#17

I do not currently see how it is possible to fit this in to the API without breaking
backwards compatibility, especially since the Compressor interface has no room for
additional parameters.

I would tack a crack at this myself otherwise.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions