ListObjectsV2 - Lists all the objects at a prefix, similar to ListObjects() but uses continuationToken instead of marker to support iteration over the results.
(bucketName, objectPrefix, startAfter, continuationToken, delimiter string, maxkeys int)
| 52 | // ListObjectsV2 - Lists all the objects at a prefix, similar to ListObjects() but uses |
| 53 | // continuationToken instead of marker to support iteration over the results. |
| 54 | func (c Core) ListObjectsV2(bucketName, objectPrefix, startAfter, continuationToken, delimiter string, maxkeys int) (ListBucketV2Result, error) { |
| 55 | return c.listObjectsV2Query(context.Background(), bucketName, objectPrefix, continuationToken, true, false, delimiter, startAfter, maxkeys, nil) |
| 56 | } |
| 57 | |
| 58 | // CopyObject - copies an object from source object to destination object on server side. |
| 59 | func (c Core) CopyObject(ctx context.Context, sourceBucket, sourceObject, destBucket, destObject string, metadata map[string]string, srcOpts CopySrcOptions, dstOpts PutObjectOptions) (ObjectInfo, error) { |
nothing calls this directly
no test coverage detected