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

Function runProjectTask

src/extension/dart/dart_task_provider.ts:140–144  ·  view source on GitHub ↗
(uri: vs.Uri, command: string, args: string[])

Source from the content-addressed store, hash-verified

138 }
139
140 protected async runProjectTask(uri: vs.Uri, command: string, args: string[]) {
141 const projectRoot = uri ? locateBestProjectRoot(fsPath(uri)) : undefined;
142 const projectRootUri = projectRoot ? vs.Uri.file(projectRoot) : undefined;
143 return this.runTask(projectRootUri, command, args);
144 }
145
146 protected async runTask(uri: vs.Uri | undefined, command: string, args: string[]) {
147 let projectFolder = uri;

Callers

nothing calls this directly

Calls 2

locateBestProjectRootFunction · 0.90
fsPathFunction · 0.90

Tested by

no test coverage detected