Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for generateListObjectsV2Response (0.19 sec)

  1. cmd/bucket-listobjects-handlers.go

    		return
    	}
    
    	if err = DecryptETags(ctx, GlobalKMS, listObjectsV2Info.Objects); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	response := generateListObjectsV2Response(ctx, bucket, prefix, token, listObjectsV2Info.NextContinuationToken, startAfter,
    		delimiter, encodingType, fetchOwner, listObjectsV2Info.IsTruncated,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. cmd/api-response.go

    		prefixes = append(prefixes, prefixItem)
    	}
    	data.CommonPrefixes = prefixes
    	return data
    }
    
    // generates an ListObjectsV2 response for the said bucket with other enumerated options.
    func generateListObjectsV2Response(ctx context.Context, bucket, prefix, token, nextToken, startAfter, delimiter, encodingType string, fetchOwner, isTruncated bool, maxKeys int, objects []ObjectInfo, prefixes []string, metadata metaCheckFn) ListObjectsV2Response {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top