MCPcopy Index your code
hub / github.com/nodejs/node / onMissingFileChange

Function onMissingFileChange

test/fixtures/snapshot/typescript.js:123882–123892  ·  view source on GitHub ↗
(fileName, eventKind, missingFilePath)

Source from the content-addressed store, hash-verified

123880 scheduleProgramUpdate();
123881 }
123882 function onMissingFileChange(fileName, eventKind, missingFilePath) {
123883 updateCachedSystemWithFile(fileName, missingFilePath, eventKind);
123884 if (eventKind === ts.FileWatcherEventKind.Created && missingFilesMap.has(missingFilePath)) {
123885 missingFilesMap.get(missingFilePath).close();
123886 missingFilesMap.delete(missingFilePath);
123887 // Delete the entry in the source files cache so that new source file is created
123888 nextSourceFileVersion(missingFilePath);
123889 // When a missing file is created, we should update the graph.
123890 scheduleProgramUpdate();
123891 }
123892 }
123893 function watchConfigFileWildCardDirectories() {
123894 if (wildcardDirectories) {
123895 ts.updateWatchingWildcardDirectories(watchedWildcardDirectories || (watchedWildcardDirectories = new ts.Map()), new ts.Map(ts.getEntries(wildcardDirectories)), watchWildcardDirectory);

Callers

nothing calls this directly

Calls 7

nextSourceFileVersionFunction · 0.85
scheduleProgramUpdateFunction · 0.85
hasMethod · 0.65
closeMethod · 0.65
getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…