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

Function getOrCreateCacheForDirectory

test/fixtures/snapshot/typescript.js:42862–42865  ·  view source on GitHub ↗
(directoryName, redirectedReference)

Source from the content-addressed store, hash-verified

42860 updateRedirectsMap(options, directoryToModuleNameMap);
42861 }
42862 function getOrCreateCacheForDirectory(directoryName, redirectedReference) {
42863 var path = ts.toPath(directoryName, currentDirectory, getCanonicalFileName);
42864 return getOrCreateCache(directoryToModuleNameMap, redirectedReference, path, function () { return createModeAwareCache(); });
42865 }
42866 }
42867 /* @internal */
42868 function createModeAwareCache() {

Callers

nothing calls this directly

Calls 2

getOrCreateCacheFunction · 0.85
createModeAwareCacheFunction · 0.85

Tested by

no test coverage detected