MCPcopy
hub / github.com/angular/angular / getCacheNames

Method getCacheNames

packages/service-worker/worker/src/driver.ts:1387–1394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1385 }
1386
1387 private async getCacheNames(): Promise<string[]> {
1388 const controlTable = (await this.controlTable) as CacheTable;
1389 const appVersions = Array.from(this.versions.values());
1390 const appVersionCacheNames = await Promise.all(
1391 appVersions.map((version) => version.getCacheNames()),
1392 );
1393 return [controlTable.cacheName].concat(...appVersionCacheNames);
1394 }
1395}

Callers 1

cleanupCachesMethod · 0.95

Calls 3

valuesMethod · 0.80
mapMethod · 0.80
allMethod · 0.45

Tested by

no test coverage detected