MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / getExecutableName

Function getExecutableName

src/shared/constants.ts:49–49  ·  view source on GitHub ↗
(cmd: string)

Source from the content-addressed store, hash-verified

47 pub: isWin ? "pub.bat" : "pub",
48};
49export const getExecutableName = (cmd: string) => (executableNames as Record<string, string | undefined>)[cmd] ?? cmd;
50export const dartVMPath = "bin/" + executableNames.dart;
51export const devToolsToolPath = "tool/bin/" + executableNames.devToolsToolBinary;
52export const devToolsToolLegacyPath = "tool/bin/" + executableNames.devToolsToolLegacyBinary;

Callers 1

createTaskExecutionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected