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

Function processHasWasmRuntimeFlags

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected