ModuleResolutionCache
sealed external interface ModuleResolutionCache : PerDirectoryResolutionCache<ResolvedModuleWithFailedLookupLocations> , NonRelativeModuleNameResolutionCache, PackageJsonInfoCache(source)
Functions
Link copied to clipboard
abstract fun getFromDirectoryCache(name: String, mode: ResolutionMode, directoryName: String, redirectedReference: ResolvedProjectReference?): ResolvedModuleWithFailedLookupLocations?
Link copied to clipboard
abstract fun getFromNonRelativeNameCache(nonRelativeName: String, mode: ResolutionMode, directoryName: String, redirectedReference: ResolvedProjectReference?): ResolvedModuleWithFailedLookupLocations?
Link copied to clipboard
abstract fun getOrCreateCacheForDirectory(directoryName: String, redirectedReference: ResolvedProjectReference = definedExternally): ModeAwareCache<ResolvedModuleWithFailedLookupLocations>
Link copied to clipboard
abstract fun getOrCreateCacheForModuleName(nonRelativeModuleName: String, mode: ResolutionMode, redirectedReference: ResolvedProjectReference = definedExternally): PerModuleNameCache
Link copied to clipboard
abstract fun getOrCreateCacheForNonRelativeName(nonRelativeName: String, mode: ResolutionMode, redirectedReference: ResolvedProjectReference = definedExternally): PerNonRelativeNameCache<ResolvedModuleWithFailedLookupLocations>
Link copied to clipboard
Link copied to clipboard
Updates with the current compilerOptions the cache will operate with. This updates the redirects map as well if needed so module resolutions are cached if they can across the projects