diff --git a/storage_client.go b/storage_client.go index 3ea2f479594f..1ad88bb34bb0 100644 --- a/storage_client.go +++ b/storage_client.go @@ -58,7 +58,7 @@ type ReadBatchIterator interface { Value() []byte } -// ObjectClient is used to store arbitrary data in Object Store (S3/GCS/Azure/Etc) +// ObjectClient is used to store arbitrary data in Object Store (S3/GCS/Azure/...) type ObjectClient interface { PutObject(ctx context.Context, objectKey string, object io.ReadSeeker) error GetObject(ctx context.Context, objectKey string) (io.ReadCloser, error) @@ -85,4 +85,5 @@ type StorageObject struct { } // StorageCommonPrefix represents a common prefix aka a synthetic directory in Object Store. +// It is guaranteed to always end with delimiter passed to List method. type StorageCommonPrefix string