MCPcopy
hub / github.com/fastify/fastify / printRoutes

Function printRoutes

fastify.js:794–800  ·  view source on GitHub ↗
(opts = {})

Source from the content-addressed store, hash-verified

792 }
793
794 function printRoutes (opts = {}) {
795 // includeHooks:true - shortcut to include all supported hooks exported by fastify.Hooks
796 opts.includeMeta = opts.includeHooks
797 ? opts.includeMeta ? supportedHooks.concat(opts.includeMeta) : supportedHooks
798 : opts.includeMeta
799 return router.printRoutes(opts)
800 }
801
802 function wrapRouting (router, { rewriteUrl, logger }) {
803 let isAsync

Callers

nothing calls this directly

Calls 1

printRoutesMethod · 0.80

Tested by

no test coverage detected