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

Function hasInvalidCacheControlDirective

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

Source from the content-addressed store, hash-verified

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

Callers 1

determineStaleAtFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected