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

Function getPolicyName

app/cli/internal/policydevel/init.go:80–85  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

78}
79
80func getPolicyName(name string) string {
81 if name == "" {
82 return defaultPolicyName
83 }
84 return name
85}
86
87func getPolicyDescription(description string) string {
88 if description == "" {

Callers 2

InitializeFunction · 0.85
loadAndProcessTemplatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected