MCPcopy Create free account
hub / github.com/Noumena-Network/code / resolveSelfContainedWrapperPath

Function resolveSelfContainedWrapperPath

src/testing/wrapperPtyHarness.ts:215–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213}
214
215export function resolveSelfContainedWrapperPath(): string {
216 const selfContainedPath = fileURLToPath(new URL('../../ncode-staging-self-contained', import.meta.url))
217 return existsSync(selfContainedPath)
218 ? selfContainedPath
219 : (resolveCompiledBinaryPath() ??
220 fileURLToPath(new URL('../../ncode', import.meta.url)))
221}
222
223export function findCompiledBinaryCandidates(
224 repoRoot = WRAPPER_HARNESS_REPO_ROOT,

Calls 2

existsSyncFunction · 0.90

Tested by

no test coverage detected