class

Detector::Specification::Caddy

Inherits Detector < Reference < Object

Constants

APPS_MARKER = /"apps"/

Every .json in the tree reaches these guards. Both must match, so they stay separate probes rather than a union.

CADDYFILE_NAMES = {"Caddyfile", "caddyfile"}
HTTP_APP_MARKER = /"http"/

Instance methods

applicable?(filename : String) : Bool

Registers each Caddy config path in CodeLocator.

Source
detect(filename : String, file_contents : String) : Bool
Source
idempotent?

Registers each Caddy config path in CodeLocator.

Source
name

Registers each Caddy config path in CodeLocator.

Source