MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / GetDirectives

Method GetDirectives

agent/utils/nginx/components/block.go:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}
10
11func (b *Block) GetDirectives() []IDirective {
12 return b.Directives
13}
14
15func (b *Block) GetComment() string {
16 return b.Comment

Callers 3

FindDirectivesMethod · 0.95
UpdateDirectiveMethod · 0.95
RemoveDirectiveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected