MCPcopy
hub / github.com/angular/angular / tmpHashTable

Function tmpHashTable

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

Source from the content-addressed store, hash-verified

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

Callers 1

prefetch_spec.tsFile · 0.90

Calls 3

keysMethod · 0.65
setMethod · 0.65
forEachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…