Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
11
func
(b *Block) GetDirectives() []IDirective {
12
return
b.Directives
13
}
14
15
func
(b *Block) GetComment() string {
16
return
b.Comment
Callers
3
FindDirectives
Method · 0.95
UpdateDirective
Method · 0.95
RemoveDirective
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected