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

Function getToolEnv

src/extension/utils/processes.ts:18–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 * Mutations to toolEnv should be done via setupToolEnv/etc.
17 */
18export function getToolEnv(): Record<string, string> {
19 return getFixedToolEnvForCopilotMutation({ processEnv: process.env, toolEnv: Object.assign({}, toolEnv) });
20}
21
22export function getGlobalFlutterArgs() {
23 // Return a copy so we never have to worry about a caller mutating this.

Callers 9

createTaskExecutionFunction · 0.90
setupDebugConfigMethod · 0.90
descriptorForTypeMethod · 0.90
constructorMethod · 0.90
startMethod · 0.90
connectMethod · 0.90
constructorMethod · 0.85
safeToolSpawnFunction · 0.85

Calls 1

Tested by

no test coverage detected