MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / processHasWasmRuntimeFlags

Function processHasWasmRuntimeFlags

src/extraction/wasm-runtime-flags.ts:94–98  ·  view source on GitHub ↗
(
  execArgv: readonly string[] = process.execArgv
)

Source from the content-addressed store, hash-verified

92
93/** True when every required WASM runtime flag is already present in `execArgv`. */
94export function processHasWasmRuntimeFlags(
95 execArgv: readonly string[] = process.execArgv
96): boolean {
97 return WASM_RUNTIME_FLAGS.every((flag) => execArgv.includes(flag));
98}
99
100/**
101 * Build the argv for re-execing node with the WASM runtime flags: our flags

Calls

no outgoing calls

Tested by

no test coverage detected