zip: add package for creating and extracting module zip files
zip provides three new functions:
* Create - build a zip from an abstract list of files, filtering out
files in submodules and vendor directories. This is useful for
filtering a zip produced by a VCS tool (as the go command does).
* CreateFromDir - build a zip from a directory. This is a convenience
wrapper for Create.
* Unzip - extract a zip file, checking various restrictions.
A list of restrictions on module paths, versions, files within zips,
and size limits is included in the package documentation. Both Create
and Unzip enforce these restrictions.
Also: copied cmd/go/internal/txtar to internal/txtar for testing.
Run-TryBot: Jay Conrod <firstname.lastname@example.org>
TryBot-Result: Gobot Gobot <email@example.com>
Reviewed-by: Bryan C. Mills <firstname.lastname@example.org>
45 files changed