(source *taskpkg.Ownership)
| 3029 | } |
| 3030 | |
| 3031 | func cloneOwnership(source *taskpkg.Ownership) *taskpkg.Ownership { |
| 3032 | if source == nil { |
| 3033 | return nil |
| 3034 | } |
| 3035 | return &taskpkg.Ownership{ |
| 3036 | Kind: source.Kind.Normalize(), |
| 3037 | Ref: strings.TrimSpace(source.Ref), |
| 3038 | } |
| 3039 | } |
| 3040 | |
| 3041 | func cloneActorIdentity(source *taskpkg.ActorIdentity) *taskpkg.ActorIdentity { |
| 3042 | if source == nil { |
no test coverage detected