MCPcopy Index your code
hub / github.com/hapijs/hapi / policy

Function policy

lib/server.js:587–590  ·  view source on GitHub ↗
(options, _segment)

Source from the content-addressed store, hash-verified

585internals.cache = (plugin) => {
586
587 const policy = function (options, _segment) {
588
589 return this._core._cachePolicy(options, _segment, plugin.realm);
590 };
591
592 policy.provision = async (opts) => {
593

Callers

nothing calls this directly

Calls 1

_cachePolicyMethod · 0.80

Tested by

no test coverage detected