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 <email@example.com>
TryBot-Result: Gobot Gobot <firstname.lastname@example.org>
Reviewed-by: Bryan C. Mills <email@example.com>
45 files changed