MCPcopy Index your code
hub / github.com/angular/angular / cacheEntry

Function cacheEntry

packages/compiler-cli/src/perform_watch.ts:160–168  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

158 return {close, ready: (cb) => readyPromise.then(cb), firstCompileResult};
159
160 function cacheEntry(fileName: string): CacheEntry {
161 fileName = path.normalize(fileName);
162 let entry = fileCache.get(fileName);
163 if (!entry) {
164 entry = {};
165 fileCache.set(fileName, entry);
166 }
167 return entry;
168 }
169
170 function close() {
171 fileWatcher.close();

Callers 1

doCompilationFunction · 0.85

Calls 3

normalizeMethod · 0.65
getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…