package
0.0.0-20190912100236-53e5711c875d
Repository: https://github.com/tsaikd/tools.git
Documentation: pkg.go.dev

# Functions

BenchmarkAll invokes the testing function once for each exporter registered in the All global.
Copy returns a Writer that copies a file from the specified source to the required file.
Export is called to write out a test directory from within a test function.
Link returns a Writer that creates a hard link from the specified source to the required file.
MustCopyFileTree returns a file set for a module based on a real directory tree.
Script returns a Writer that writes out contents to the file and sets the executable bit on the created file.
Symlink returns a Writer that creates a symlink from the specified source to the required file.
TestAll invokes the testing function once for each exporter registered in the All global.

# Variables

All is the list of known exporters.
GOPATH is the exporter that produces GOPATH layouts.
Modules is the exporter that produces module layouts.

# Structs

Exported is returned by the Export function to report the structure that was produced on disk.
Module is a representation of a go module.

# Interfaces

Exporter implementations are responsible for converting from the generic description of some test data to a driver specific file layout.

# Type aliases

Range is a type alias for span.Range for backwards compatability, prefer using span.Range directly.
A Writer is a function that writes out a test file.