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

Method didClose

ngp-vscode-ng-language-service/tests/test_helpers.ts:235–244  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

233 }
234
235 async didClose(filePath: string) {
236 const uri = await toUri(filePath);
237 await this.sendNotificationToBoth(
238 'textDocument/didClose',
239 {
240 textDocument: {uri},
241 },
242 filePath,
243 );
244 }
245
246 async didChangeWatchedFiles(filePath: string, type: FileChangeType = FileChangeType.Changed) {
247 const uri = await toUri(filePath);

Callers 1

closeFileMethod · 0.80

Calls 2

toUriFunction · 0.70

Tested by

no test coverage detected