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

Function processHasWasmRuntimeFlags

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected