MCPcopy
hub / github.com/caddyserver/caddy / Nesting

Method Nesting

caddyconfig/caddyfile/dispenser.go:196–198  ·  view source on GitHub ↗

Nesting returns the current nesting level. Necessary if using NextBlock()

()

Source from the content-addressed store, hash-verified

194// Nesting returns the current nesting level. Necessary
195// if using NextBlock()
196func (d *Dispenser) Nesting() int {
197 return d.nesting
198}
199
200// Val gets the text of the current token. If there is no token
201// loaded, it returns empty string.

Callers 15

doImportMethod · 0.95
NextSegmentMethod · 0.95
parseACMEServerFunction · 0.80
UnmarshalCaddyfileMethod · 0.80
UnmarshalCaddyfileMethod · 0.80
UnmarshalCaddyfileMethod · 0.80
unmarshalCaddyfileMethod · 0.80
UnmarshalCaddyfileMethod · 0.80
UnmarshalCaddyfileMethod · 0.80
UnmarshalCaddyfileMethod · 0.80
UnmarshalCaddyfileMethod · 0.80
UnmarshalCaddyfileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected