module

Patty::Caddy::Snippets

Reads/writes <id>.caddy files in the enabled dir. All apply-safety (validate, backup, reload) lives in Manager — these are dumb file ops.

Class methods

enabled?(id : String) : Bool
Source
files
Source
path_for(id : String) : String
Source
remove(id : String)
Source
render(profile : Profile) : String
Source
write(id : String, content : String)
Source