Documentation
¶
Overview ¶
Package testinputs fingerprints external child-test inputs which Go's ordinary test cache cannot track across module roots. It reads sources and selected tools, never application environment files, credential stores or private caches.
Index ¶
Constants ¶
const Variable = "FOUNDRY_TEST_INPUTS"
Variables ¶
This section is empty.
Functions ¶
func Compute ¶
Compute is deterministic across timestamp-only changes. Source symlinks are rejected instead of silently omitting outside-workspace child dependencies. Tools are explicit caller-selected files/trees and may live outside the repo.
func StandardImporter ¶ added in v0.3.0
StandardImporter returns a types.Importer for standard library packages. Under -trimpath, runtime.GOROOT() is empty so build.Default.GOROOT must be resolved from go env GOROOT before using importer.Default().