Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for generateListObjectsV2Response (0.21 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 Oct 27 19:28:09 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 25 02:13:19 UTC 2024
    - 33.6K bytes
    - Viewed (0)
Back to top