-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
There are Copy/Move that are not currently implemented on S3. These are performance optimizations that when copy/move from s3 -> to s3 don't do network transfer, instead allow s3 to do the copy/move through native s3 api.
Lines 73 to 85 in 2731960
| // StoreCopy Optional interface to fast path copy. Many of the cloud providers | |
| // don't actually copy bytes. Rather they allow a "pointer" that is a fast copy. | |
| StoreCopy interface { | |
| // Copy from object, to object | |
| Copy(ctx context.Context, src, dst Object) error | |
| } | |
| // StoreMove Optional interface to fast path move. Many of the cloud providers | |
| // don't actually copy bytes. | |
| StoreMove interface { | |
| // Move from object location, to object location. | |
| Move(ctx context.Context, src, dst Object) error | |
| } |
Google implementation
Line 174 in 2731960
| // Copy from src to destination |
Metadata
Metadata
Assignees
Labels
No labels