MCPcopy
hub / github.com/angular/angular / 'delete'

Method 'delete'

packages/service-worker/worker/testing/cache.ts:70–76  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

68 }
69
70 async 'delete'(name: string): Promise<boolean> {
71 if (this.caches.has(name)) {
72 this.caches.delete(name);
73 return true;
74 }
75 return false;
76 }
77
78 dehydrate(): string {
79 const dehydrated: DehydratedCacheStorage = {};

Callers

nothing calls this directly

Calls 2

hasMethod · 0.65
deleteMethod · 0.45

Tested by

no test coverage detected