* Forget the tsconfig / jsconfig alias maps, the go.mod modules, the Cargo * crates and the compile database's directories this resolver read, and * every memo resolved through them, so the next reference reads the files as * they are now (#2977). The caller re-opens the imports the old map
()
| 3360 | * they are now (#2977). The caller re-opens the imports the old maps resolved. |
| 3361 | */ |
| 3362 | resetModuleConfig(): void { |
| 3363 | this.projectAliases = undefined; |
| 3364 | this.dirAliases.clear(); |
| 3365 | this.goModuleByDir.clear(); |
| 3366 | this.goPackageDirs.clear(); |
| 3367 | this.cargoCrates = undefined; |
| 3368 | this.compileDbIncludeDirs = undefined; |
| 3369 | this.moduleConfigFiles.clear(); |
| 3370 | this.clearCaches(); |
| 3371 | // Its manifests stay in the snapshot, whatever this sync resolves. |
| 3372 | this.readCargoCrates(); |
| 3373 | } |
| 3374 | |
| 3375 | /** The fingerprint of the workspace map this resolver resolves by (see `workspaceFingerprint`). */ |
| 3376 | getWorkspaceFingerprint(): string { |
no test coverage detected