Versions in this module Expand all Collapse all v0 v0.5.1 Jan 24, 2023 Changes in this version + var All []Exporter + var ErrUnsupported = errors.New("operation is not supported") + var GOPATH = gopath + var Modules = modules + func BenchmarkAll(b *testing.B, f func(*testing.B, Exporter)) + func MustCopyFileTree(root string) map[string]interface + func TestAll(t *testing.T, f func(*testing.T, Exporter)) + type Exported struct + Config *packages.Config + ExpectFileSet *token.FileSet + Exporter Exporter + Modules []Module + func Export(t testing.TB, exporter Exporter, modules []Module) *Exported + func (e *Exported) Cleanup() + func (e *Exported) Expect(methods map[string]interface{}) error + func (e *Exported) File(module, fragment string) string + func (e *Exported) FileContents(filename string) ([]byte, error) + func (e *Exported) Mark(name string, r Range) + func (e *Exported) Temp() string + type Exporter interface + Filename func(exported *Exported, module, fragment string) string + Finalize func(exported *Exported) error + Name func() string + type Module struct + Files map[string]interface{} + Name string + Overlay map[string][]byte + func GroupFilesByModules(root string) ([]Module, error) + type Range struct + End token.Pos + Start token.Pos + TokFile *token.File + type Writer func(filename string) error + func Copy(source string) Writer + func Link(source string) Writer + func Script(contents string) Writer + func Symlink(source string) Writer