MCPcopy Index your code
hub / github.com/microsoft/pyright / setFileClosed

Method setFileClosed

server/src/analyzer/program.ts:128–136  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

126 }
127
128 setFileClosed(filePath: string): FileDiagnostics[] {
129 let sourceFileInfo = this._sourceFileMap[filePath];
130 if (sourceFileInfo) {
131 sourceFileInfo.isOpenByClient = false;
132 sourceFileInfo.sourceFile.setClientVersion(null, '');
133 }
134
135 return this._removeUnneededFiles();
136 }
137
138 markAllFilesDirty() {
139 this._sourceFileList.forEach(sourceFileInfo => {

Callers 1

server.tsFile · 0.45

Calls 2

_removeUnneededFilesMethod · 0.95
setClientVersionMethod · 0.80

Tested by

no test coverage detected