Cached resolutions per containing directory. This assumes that any module id will have the same resolution for sibling files located in the same folder.
Cached resolutions per containing directory. This assumes that any module id will have the same resolution for sibling files located in the same folder.
(clear per-directory-resolution-cache)
Returns: void
**Returns:** `void`
(from-directory-cache per-directory-resolution-cache name)
(from-directory-cache per-directory-resolution-cache name mode)
(from-directory-cache per-directory-resolution-cache name mode directory-name)
(from-directory-cache per-directory-resolution-cache
name
mode
directory-name
redirected-reference)
Parameters:
name
: string
mode
: ResolutionMode
directory-name
: string
redirected-reference
: ResolvedProjectReference | undefined
Returns: T | undefined
**Parameters:** - `name`: `string` - `mode`: `ResolutionMode` - `directory-name`: `string` - `redirected-reference`: `ResolvedProjectReference | undefined` **Returns:** `T | undefined`
(or-create-cache-for-directory per-directory-resolution-cache directory-name)
(or-create-cache-for-directory per-directory-resolution-cache
directory-name
redirected-reference)
Parameters:
directory-name
: string
redirected-reference
: ResolvedProjectReference | undefined
Returns: ModeAwareCache<T>
**Parameters:** - `directory-name`: `string` - `redirected-reference`: `ResolvedProjectReference | undefined` **Returns:** `ModeAwareCache<T>`
(update per-directory-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