MCPcopy Create free account
hub / github.com/compozy/agh / cloneBoolPtr

Function cloneBoolPtr

internal/api/core/conversions.go:2937–2943  ·  view source on GitHub ↗
(src *bool)

Source from the content-addressed store, hash-verified

2935}
2936
2937func cloneBoolPtr(src *bool) *bool {
2938 if src == nil {
2939 return nil
2940 }
2941 value := *src
2942 return &value
2943}
2944
2945func resourceKindsToStrings(values []resources.ResourceKind) []string {
2946 if len(values) == 0 {

Calls

no outgoing calls

Tested by

no test coverage detected