Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for delimiter (0.19 sec)

  1. cmd/erasure-server-pool.go

    }
    
    func (z *erasureServerPools) ListObjects(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int) (ListObjectsInfo, error) {
    	return z.listObjectsGeneric(ctx, bucket, prefix, marker, delimiter, maxKeys, true)
    }
    
    func (z *erasureServerPools) ListObjectsV2(ctx context.Context, bucket, prefix, continuationToken, delimiter string, maxKeys int, fetchOwner bool, startAfter string) (ListObjectsV2Info, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    		2: "empty-bucket",
    		// Listing the case where the marker > last object.
    		3: "test-bucket-single-object",
    		// Listing uncommon delimiter.
    		4: "test-bucket-delimiter",
    		// Listing prefixes > maxKeys
    		5: "test-bucket-max-keys-prefixes",
    		// Listing custom delimiters
    		6: "test-bucket-custom-delimiter",
    	}
    	for _, bucket := range testBuckets {
    		err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/metacache-entries.go

    func (m *metaCacheEntriesSorted) fileInfoVersions(bucket, prefix, delimiter, afterV string) (versions []ObjectInfo) {
    	versions = make([]ObjectInfo, 0, m.len())
    	prevPrefix := ""
    	vcfg, _ := globalBucketVersioningSys.Get(bucket)
    
    	for _, entry := range m.o {
    		if entry.isObject() {
    			if delimiter != "" {
    				idx := strings.Index(strings.TrimPrefix(entry.name, prefix), delimiter)
    				if idx >= 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/api-response.go

    	// order Note: This element is returned only if you have delimiter request parameter
    	// specified. If response does not include the NextMaker and it is truncated,
    	// you can use the value of the last Key in the response as the marker in the
    	// subsequent request to get the next set of object keys.
    	NextMarker string `xml:"NextMarker,omitempty"`
    
    	MaxKeys   int
    	Delimiter string `xml:"Delimiter,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  5. cmd/object-api-datatypes.go

    	Prefix string
    
    	// A character used to truncate the object prefixes.
    	// NOTE: only supported delimiter is '/'.
    	Delimiter string
    
    	// CommonPrefixes contains all (if there are any) keys between Prefix and the
    	// next occurrence of the string specified by delimiter.
    	CommonPrefixes []string
    
    	EncodingType string // Not supported yet.
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    	if o.Limit == 0 {
    		return entries, io.EOF
    	}
    
    	// For delimiter and prefix as '/' we do not list anything at all
    	// along // with the prefix. On a flat namespace with 'prefix'
    	// as '/' we don't have any entries, since all the keys are
    	// of form 'keyName/...'
    	if strings.HasPrefix(o.Prefix, SlashSeparator) {
    		return entries, io.EOF
    	}
    
    	// If delimiter is slashSeparator we must return directories of
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. cmd/object-api-input-checks.go

    			Bucket: bucket,
    			Object: prefix,
    		}
    	}
    	return nil
    }
    
    // Checks for all ListMultipartUploads arguments validity.
    func checkListMultipartArgs(ctx context.Context, bucket, prefix, keyMarker, uploadIDMarker, delimiter string) error {
    	if err := checkListObjsArgs(ctx, bucket, prefix, keyMarker); err != nil {
    		return err
    	}
    	if uploadIDMarker != "" {
    		if HasSuffix(keyMarker, SlashSeparator) {
    			return InvalidUploadIDKeyCombination{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    func getListMultipartUploadsURLWithParams(endPoint, bucketName, prefix, keyMarker, uploadIDMarker, delimiter, maxUploads string) string {
    	queryValue := url.Values{}
    	queryValue.Set("uploads", "")
    	queryValue.Set("prefix", prefix)
    	queryValue.Set("delimiter", delimiter)
    	queryValue.Set("key-marker", keyMarker)
    	queryValue.Set("upload-id-marker", uploadIDMarker)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedArgumentDelimiter: {
    		Code:           "ParseExpectedArgumentDelimiter",
    		Description:    "Did not find the expected argument delimiter in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseCastArity: {
    		Code:           "ParseCastArity",
    		Description:    "The SQL expression CAST has incorrect arity.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  10. cmd/object-api-interface.go

    	ListObjects(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int) (result ListObjectsInfo, err error)
    	ListObjectsV2(ctx context.Context, bucket, prefix, continuationToken, delimiter string, maxKeys int, fetchOwner bool, startAfter string) (result ListObjectsV2Info, err error)
    	ListObjectVersions(ctx context.Context, bucket, prefix, marker, versionMarker, delimiter string, maxKeys int) (result ListObjectVersionsInfo, err error)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top