MCPcopy Create free account
hub / github.com/angular/angular / tmpHashTable

Function tmpHashTable

packages/service-worker/worker/testing/mock.ts:288–295  ·  view source on GitHub ↗
(manifest: Manifest)

Source from the content-addressed store, hash-verified

286}
287
288export function tmpHashTable(manifest: Manifest): Map<string, string> {
289 const map = new Map<string, string>();
290 Object.keys(manifest.hashTable).forEach((url) => {
291 const hash = manifest.hashTable[url];
292 map.set(url, hash);
293 });
294 return map;
295}
296
297// Helpers
298/**

Callers 1

prefetch_spec.tsFile · 0.90

Calls 3

keysMethod · 0.65
setMethod · 0.65
forEachMethod · 0.45

Tested by

no test coverage detected