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

Function updateCachedSystemWithFile

test/fixtures/snapshot/typescript.js:123856–123860  ·  view source on GitHub ↗
(fileName, path, eventKind)

Source from the content-addressed store, hash-verified

123854 scheduleProgramUpdate();
123855 }
123856 function updateCachedSystemWithFile(fileName, path, eventKind) {
123857 if (cachedDirectoryStructureHost) {
123858 cachedDirectoryStructureHost.addOrDeleteFile(fileName, path, eventKind);
123859 }
123860 }
123861 function watchMissingFilePath(missingFilePath) {
123862 // If watching missing referenced config file, we are already watching it so no need for separate watcher
123863 return (parsedConfigs === null || parsedConfigs === void 0 ? void 0 : parsedConfigs.has(missingFilePath)) ?

Callers 5

onSourceFileChangeFunction · 0.85
onPackageJsonChangeFunction · 0.85
onMissingFileChangeFunction · 0.85
watchReferencedProjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…