struct

Analyzer::Javascript::Fastify::AutoloadRoot

Inherits Struct < Value < Object

A directory @fastify/autoload registers. dir_prefix records the config's dirNameRoutePrefix — when it is false, subdirectories do NOT contribute a route prefix (a file's own autoPrefix export provides the prefix instead).

Constructors

new(path : String, dir_prefix : Bool)
Source

Instance methods

clone
Source
copy_with(path _path = @path, dir_prefix _dir_prefix = @dir_prefix)
Source
dir_prefix
path