Struct: s3crypto.MaterialDescription

import "../ibm-cos-sdk-go/service/s3/s3crypto"

Overview

Clone returns a copy of the MaterialDescription

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Method Summary collapse

Method Details

func (md MaterialDescription) Clone() (clone MaterialDescription)



11
12
13
14
15
16
17
18
19
20
// File 'service/s3/s3crypto/mat_desc.go', line 11

func (md MaterialDescription) Clone() (clone MaterialDescription) { if md == nil { return nil } clone = make(MaterialDescription, len(md)) for k, v := range md { clone[k] = copyPtrString(v) } return clone }