MCPcopy Create free account
hub / github.com/rclone/rclone / applyPartUploadOptions

Method applyPartUploadOptions

backend/oracleobjectstorage/object.go:507–512  ·  view source on GitHub ↗
(putReq *objectstorage.PutObjectRequest, req *objectstorage.UploadPartRequest)

Source from the content-addressed store, hash-verified

505}
506
507func (o *Object) applyPartUploadOptions(putReq *objectstorage.PutObjectRequest, req *objectstorage.UploadPartRequest) {
508 req.OpcSseCustomerAlgorithm = putReq.OpcSseCustomerAlgorithm
509 req.OpcSseCustomerKey = putReq.OpcSseCustomerKey
510 req.OpcSseCustomerKeySha256 = putReq.OpcSseCustomerKeySha256
511 req.OpcSseKmsKeyId = putReq.OpcSseKmsKeyId
512}
513
514func metadataWithOpcPrefix(src map[string]string) map[string]string {
515 dst := make(map[string]string)

Callers 1

WriteChunkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected