Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for listObjects (0.09 seconds)

  1. cmd/bucket-listobjects-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	listObjects := objectAPI.ListObjects
    
    	// Initiate a list objects operation based on the input params.
    	// On success would return back ListObjectsInfo object to be
    	// marshaled into S3 compatible XML header.
    	listObjectsInfo, err := listObjects(ctx, bucket, prefix, marker, delimiter, maxKeys)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. cmd/object-api-listobjects_test.go

    				t.Fatalf("Expected, marker %t : got %t", object.addDeleteMarker, oi.DeleteMarker)
    			}
    		}
    	}
    
    	// Formulating the result data set to be expected from ListObjects call inside the tests,
    	// This will be used in testCases and used for asserting the correctness of ListObjects output in the tests.
    
    	resultCases := []ListObjectsInfo{
    		{
    			IsTruncated: false,
    			Prefixes:    []string{"unique/folder/"},
    		},
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/storage/StorageClient.java

         *
         * @param prefix the path prefix to list objects under (null or empty for root)
         * @param maxItems maximum number of items to return
         * @return list of storage items
         */
        List<StorageItem> listObjects(String prefix, int maxItems);
    
        /**
         * Gets tags/metadata for an object.
         *
         * @param objectName the name/path of the object
         * @return map of tag key-value pairs
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. cmd/api-headers.go

    	return buf.Bytes()
    }
    
    // Use this encodeResponseList() to support control characters
    // this function must be used by only ListObjects() for objects
    // with control characters, this is a specialized extension
    // to support AWS S3 compatible behavior.
    //
    // Do not use this function for anything other than ListObjects()
    // variants, please open a github discussion if you wish to use
    // this in other places.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. cmd/metacache-server-pool.go

    	versioned := o.Versioning != nil && o.Versioning.Versioned(obj.name)
    
    	// skip latest object from listing only for regular
    	// listObjects calls, versioned based listing cannot
    	// filter out between versions 'obj' cannot be truncated
    	// in such a manner, so look for skipping an object only
    	// for regular ListObjects() call only.
    	if !o.Versioned && !o.V1 {
    		fi, err := obj.fileInfo(o.Bucket)
    		if err != nil {
    			return skip
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  6. cmd/object-api-input-checks.go

    		// Objects cannot be contain \ in Windows and is listed as `Characters to Avoid`.
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	return nil
    }
    
    // Checks for all ListObjects arguments validity.
    func checkListObjsArgs(ctx context.Context, bucket, prefix, marker string) error {
    	// Verify if bucket is valid.
    	if !isMinioMetaBucketName(bucket) && s3utils.CheckValidBucketNameStrict(bucket) != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  7. cmd/http-tracer_test.go

    				case 1:
    					httpStats.totalS3Requests.Inc("PutObject")
    				case 2:
    					httpStats.totalS3Errors.Inc("DeleteObject")
    				case 3:
    					httpStats.currentS3Requests.Inc("ListObjects")
    				}
    			}
    		}(i)
    	}
    
    	for i := range numReaders {
    		wg.Add(1)
    		go func(readerID int) {
    			defer wg.Done()
    			for range opsPerGoroutine {
    				_ = httpStats.toServerHTTPStats(false)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. cmd/api-resources.go

    	encodingType = values.Get("encoding-type")
    	versionIDMarker = values.Get("version-id-marker")
    	return prefix, marker, delimiter, maxkeys, encodingType, versionIDMarker, errCode
    }
    
    // Parse bucket url queries for ListObjects V2.
    func getListObjectsV2Args(values url.Values) (prefix, token, startAfter, delimiter string, fetchOwner bool, maxkeys int, encodingType string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. cmd/object_api_suite_test.go

    	ExecObjectLayerTest(t, testPaging)
    }
    
    // Tests validate creation of objects and the order of listing using various filters for ListObjects operation.
    func testPaging(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{})
    	result, err := obj.ListObjects(context.Background(), "bucket", "", "", "", 0)
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            } catch (final Exception e) {
                throw new StorageException("Failed to delete " + objectName, e);
            }
        }
    
        @Override
        public List<StorageItem> listObjects(final String prefix, final int maxItems) {
            final List<StorageItem> items = new ArrayList<>();
    
            try {
                final ListObjectsV2Request.Builder requestBuilder =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top