Documentation
¶
Overview ¶
Package langmod locates the language repos funcd pins as Go modules (ADR-0141): a pinned module's root, for the committed example builds, and the embedded Node and Python shims written to a temp dir, for the tests that exec them.
Index ¶
Constants ¶
const ( TypeScript = "github.com/pyvvo/funcd-typescript" Python = "github.com/pyvvo/funcd-python" )
The language modules funcd pins in go.mod.
Variables ¶
This section is empty.
Functions ¶
func Dir ¶
Dir returns module mod's root as the go command resolves it: the pinned module-cache dir, or a go.work override. The module cache is read-only, so callers never write under it.
func NodeShim ¶
NodeShim writes the embedded single-tenant Node shim into t.TempDir() and returns its path.
func PoolShim ¶
PoolShim writes the embedded worker_threads pool shim into t.TempDir() and returns its path.
func PythonShim ¶ added in v0.2.2
PythonShim extracts the embedded Python shim package into t.TempDir() and returns its entry scripts: the solo shim and the subinterpreter pool host (Python 3.14 or later).
Types ¶
This section is empty.