MCPcopy
hub / github.com/nodejs/undici / has

Method has

types/cache.d.ts:5–5  ·  view source on GitHub ↗
(cacheName: string)

Source from the content-addressed store, hash-verified

3export interface CacheStorage {
4 match (request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>,
5 has (cacheName: string): Promise<boolean>,
6 open (cacheName: string): Promise<Cache>,
7 delete (cacheName: string): Promise<boolean>,
8 keys (): Promise<string[]>

Callers 15

[kDispatch]Method · 0.65
deduplicate.jsFile · 0.65
setMethod · 0.65
snapshot-utils.jsFile · 0.65
filterHeadersForMatchingFunction · 0.65
filterHeadersForStorageFunction · 0.65
recordMethod · 0.65
matchMethod · 0.65
hasMethod · 0.65
openMethod · 0.65
responseLocationURLFunction · 0.65
requestBadPortFunction · 0.65

Implementers 1

CacheStoragelib/web/cache/cachestorage.js

Calls

no outgoing calls

Tested by

no test coverage detected