MCPcopy Create free account
hub / github.com/angular/dev-infra / setCachedConfig

Function setCachedConfig

ng-dev/utils/config-cache.ts:21–23  ·  view source on GitHub ↗
(config: {} | null)

Source from the content-addressed store, hash-verified

19 * CI and test situations in which loading from the `.ng-dev/` directory is not possible.
20 */
21export function setCachedConfig(config: {} | null): void {
22 cachedConfig = config;
23}
24
25/** Gets the cached configuration, or `null` if not set. */
26export function getCachedConfig(): {} | null {

Callers 1

getConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected