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

Method getRoots

src/shared/test/test_model.ts:275–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273 }
274
275 public getRoots(): Array<WorkspaceFolderNode | ProjectNode> {
276 return [
277 // WF or Projects can be roots (projects are roots if zero or one WF).
278 ...this.workspaceFolderNodes.values(),
279 ...this.projectNodes.values(),
280 ]
281 .filter((n) => !n.parent);
282 }
283
284 public clearAll(): void {
285 this.suites.clear();

Callers 1

replaceAllMethod · 0.80

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected