MCPcopy Create free account
hub / github.com/firebase/firebase-tools / setCachedWebSetup

Function setCachedWebSetup

src/fetchWebSetup.ts:45–49  ·  view source on GitHub ↗
(projectId: string, config: WebConfig)

Source from the content-addressed store, hash-verified

43const CONFIGSTORE_KEY = "webconfig";
44
45function setCachedWebSetup(projectId: string, config: WebConfig): void {
46 const allConfigs = configstore.get(CONFIGSTORE_KEY) || {};
47 allConfigs[projectId] = config;
48 configstore.set(CONFIGSTORE_KEY, allConfigs);
49}
50
51/**
52 * Get the last known WebConfig from the cache.

Callers 1

fetchWebSetupFunction · 0.85

Calls 2

getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…