MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / getPolicyDescription

Function getPolicyDescription

app/cli/internal/policydevel/init.go:87–92  ·  view source on GitHub ↗
(description string)

Source from the content-addressed store, hash-verified

85}
86
87func getPolicyDescription(description string) string {
88 if description == "" {
89 return defaultPolicyDescription
90 }
91 return description
92}
93
94func loadAndProcessTemplates(opts *InitOptions) (*Content, error) {
95 regoContent, err := templateFS.ReadFile(policyTemplateRegoPath)

Callers 1

loadAndProcessTemplatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected