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

Method 'delete'

packages/service-worker/worker/src/db-cache.ts:69–71  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

67 }
68
69 'delete'(key: string): Promise<boolean> {
70 return this.cache.delete(this.request(key), this.cacheQueryOptions);
71 }
72
73 keys(): Promise<string[]> {
74 return this.cache.keys().then((requests) => requests.map((req) => req.url.slice(1)));

Callers

nothing calls this directly

Calls 2

requestMethod · 0.95
deleteMethod · 0.45

Tested by

no test coverage detected