Stored map from non-relative module name to a table: directory -> result of module lookup in this directory We support only non-relative module names because resolution of relative module names is usually more deterministic and thus less expensive.
Stored map from non-relative module name to a table: directory -> result of module lookup in this directory We support only non-relative module names because resolution of relative module names is usually more deterministic and thus less expensive.
(clear non-relative-module-name-resolution-cache)
Returns: void
**Returns:** `void`
(from-non-relative-name-cache non-relative-module-name-resolution-cache
non-relative-name)
(from-non-relative-name-cache non-relative-module-name-resolution-cache
non-relative-name
mode)
(from-non-relative-name-cache non-relative-module-name-resolution-cache
non-relative-name
mode
directory-name)
(from-non-relative-name-cache non-relative-module-name-resolution-cache
non-relative-name
mode
directory-name
redirected-reference)
Parameters:
non-relative-name
: string
mode
: ResolutionMode
directory-name
: string
redirected-reference
: ResolvedProjectReference | undefined
Returns: ResolvedModuleWithFailedLookupLocations | undefined
**Parameters:** - `non-relative-name`: `string` - `mode`: `ResolutionMode` - `directory-name`: `string` - `redirected-reference`: `ResolvedProjectReference | undefined` **Returns:** `ResolvedModuleWithFailedLookupLocations | undefined`
(or-create-cache-for-module-name non-relative-module-name-resolution-cache
non-relative-module-name)
(or-create-cache-for-module-name non-relative-module-name-resolution-cache
non-relative-module-name
mode)
(or-create-cache-for-module-name non-relative-module-name-resolution-cache
non-relative-module-name
mode
redirected-reference)
Parameters:
non-relative-module-name
: string
mode
: ResolutionMode
redirected-reference
: ResolvedProjectReference | undefined
Returns: PerModuleNameCache
**Parameters:** - `non-relative-module-name`: `string` - `mode`: `ResolutionMode` - `redirected-reference`: `ResolvedProjectReference | undefined` **Returns:** `PerModuleNameCache`
(or-create-cache-for-non-relative-name non-relative-module-name-resolution-cache
non-relative-name)
(or-create-cache-for-non-relative-name non-relative-module-name-resolution-cache
non-relative-name
mode)
(or-create-cache-for-non-relative-name non-relative-module-name-resolution-cache
non-relative-name
mode
redirected-reference)
Parameters:
non-relative-name
: string
mode
: ResolutionMode
redirected-reference
: ResolvedProjectReference | undefined
Returns: PerNonRelativeNameCache<ResolvedModuleWithFailedLookupLocations>
**Parameters:** - `non-relative-name`: `string` - `mode`: `ResolutionMode` - `redirected-reference`: `ResolvedProjectReference | undefined` **Returns:** `PerNonRelativeNameCache<ResolvedModuleWithFailedLookupLocations>`
(update non-relative-module-name-resolution-cache options)
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
Parameters:
options
: CompilerOptions
Returns: void
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 **Parameters:** - `options`: `CompilerOptions` **Returns:** `void`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close