MCPcopy
hub / github.com/anomalyco/opencode / preload.ts

File preload.ts

packages/opencode/test/preload.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// IMPORTANT: Set env vars BEFORE any imports from src/ directory
2// xdg-basedir reads env vars at import time, so we must set these first
3import os from "os"
4import path from "path"

Callers

nothing calls this directly

Calls 3

initProjectorsFunction · 0.85
rmFunction · 0.70
disposeMethod · 0.45

Tested by

no test coverage detected