MCPcopy Create free account
hub / github.com/angular/angular / openFile

Method openFile

ngp-vscode-ng-language-service/tests/test_helpers.ts:379–383  ·  view source on GitHub ↗
(filePath: string, text: string)

Source from the content-addressed store, hash-verified

377 }
378
379 async openFile(filePath: string, text: string) {
380 const normPath = await normalizePath(filePath);
381 await this.lspClient.didOpen(normPath, text);
382 this.openedFiles.push(normPath);
383 }
384
385 async closeFile(filePath: string) {
386 const normPath = await normalizePath(filePath);

Callers 5

runMethod · 0.95

Calls 3

didOpenMethod · 0.80
normalizePathFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected