Open
Description
The gcexportdata package has two functions, WriteBundle and ReadBundle, that have always been marked as experimental and are not used within x/tools, nor, to my knowledge, anywhere else. The only match in GitHub was a single call from apidiff in the obsolete golang/exp repo (and forks thereof), which I have since updated.
package gcexportdata
func ReadBundle(in io.Reader, fset *token.FileSet, imports map[string]*types.Package) ([]*types.Package, error)
func WriteBundle(out io.Writer, fset *token.FileSet, pkgs []*types.Package) error
We propose to drop bundle functionality by making both functions return an error unconditionally.
Related:
Metadata
Metadata
Assignees
Type
Projects
Status
Accepted