MCPcopy
hub / github.com/hapijs/hapi / path

Method path

lib/server.js:404–408  ·  view source on GitHub ↗
(relativeTo)

Source from the content-addressed store, hash-verified

402 }
403
404 path(relativeTo) {
405
406 Hoek.assert(relativeTo && typeof relativeTo === 'string', 'relativeTo must be a non-empty string');
407 this.realm.settings.files.relativeTo = relativeTo;
408 }
409
410 async register(plugins, options = {}) {
411

Callers 2

core.jsFile · 0.80
server.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected