MCPcopy
hub / github.com/minio/minio-go / ListObjectsV2

Method ListObjectsV2

core.go:54–56  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.
54func (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.
59func (c Core) CopyObject(ctx context.Context, sourceBucket, sourceObject, destBucket, destObject string, metadata map[string]string, srcOpts CopySrcOptions, dstOpts PutObjectOptions) (ObjectInfo, error) {

Callers

nothing calls this directly

Calls 1

listObjectsV2QueryMethod · 0.80

Tested by

no test coverage detected