Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/caddyserver/caddy
/ parseOne
Method
parseOne
caddyconfig/caddyfile/parse.go:141–144 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
139
}
140
141
func
(p *parser) parseOne() error {
142
p.block = ServerBlock{}
143
return
p.begin()
144
}
145
146
func
(p *parser) begin() error {
147
if
len(p.tokens) == 0 {
Callers
4
parseAll
Method · 0.95
TestParseOneAndImport
Function · 0.80
TestRecursiveImport
Function · 0.80
TestDirectiveImport
Function · 0.80
Calls
1
begin
Method · 0.95
Tested by
3
TestParseOneAndImport
Function · 0.64
TestRecursiveImport
Function · 0.64
TestDirectiveImport
Function · 0.64