MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / getToolchainPath

Function getToolchainPath

lib/toolchain-utils.ts:50–53  ·  view source on GitHub ↗
(compilerExe: string | null, compilerOptions?: string)

Source from the content-addressed store, hash-verified

48}
49
50export function getToolchainPath(compilerExe: string | null, compilerOptions?: string): string | undefined {
51 const options = compilerOptions ? splitArguments(compilerOptions) : [];
52 return getToolchainPathWithOptionsArr(compilerExe, options);
53}
54
55export function removeToolchainArg(compilerOptions: string[]): string[] {
56 return compilerOptions.filter(

Callers 2

constructorMethod · 0.85
getToolchainPathMethod · 0.85

Calls 2

splitArgumentsFunction · 0.85

Tested by

no test coverage detected