MCPcopy Create free account
hub / github.com/nodejs/undici / hasInvalidCacheControlDirective

Function hasInvalidCacheControlDirective

lib/util/cache.js:117–119  ·  view source on GitHub ↗
(directives, key)

Source from the content-addressed store, hash-verified

115}
116
117function hasInvalidCacheControlDirective (directives, key) {
118 return directives[kInvalidCacheControlDirectives]?.has(key) === true
119}
120
121function getMalformedRestrictiveDirectiveName (key) {
122 for (const directiveName of RESTRICTIVE_DIRECTIVE_NAMES) {

Callers 1

determineStaleAtFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected