Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for unprefixes (0.28 sec)

  1. cmd/erasure-server-pool.go

    			// With slash delimiter we only get the directory once.
    			found := false
    			if delimiter != slashSeparator {
    				for _, p := range loi.Prefixes {
    					if found {
    						break
    					}
    					found = p == obj.Name
    				}
    			}
    			if !found {
    				loi.Prefixes = append(loi.Prefixes, obj.Name)
    			}
    		} else {
    			loi.Objects = append(loi.Objects, obj)
    		}
    	}
    	if loi.IsTruncated {
    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_suite_test.go

    			t.Errorf("%s: Expected the number of objects in the result to be %d, but instead found %d", instanceType, 1, len(result.Objects))
    		}
    		if result.Prefixes[0] != "this/is/also/" {
    			t.Errorf("%s: Expected prefix to be `%s`, but instead found `%s`", instanceType, "this/is/also/", result.Prefixes[0])
    		}
    	}
    
    	// check delimited results with delimiter without prefix.
    	{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    	},
    	ErrOverlappingFilterNotification: {
    		Code:           "InvalidArgument",
    		Description:    "An object key name filtering rule defined with overlapping prefixes, overlapping suffixes, or overlapping combinations of prefixes and suffixes for the same event types.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterNameInvalid: {
    		Code:           "InvalidArgument",
    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)
  4. cmd/object-api-datatypes.go

    	NextMarker string
    
    	// NextVersionIDMarker may be set of IsTruncated is true
    	NextVersionIDMarker string
    
    	// List of objects info for this request.
    	Objects []ObjectInfo
    
    	// List of prefixes for this request.
    	Prefixes []string
    }
    
    // ListObjectsInfo - container for list objects.
    type ListObjectsInfo struct {
    	// Indicates whether the returned list objects response is truncated. A
    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)
  5. cmd/object-api-listobjects_test.go

    				}
    
    				if len(testCase.result.Prefixes) != len(result.Prefixes) {
    					t.Log(testCase, testCase.result.Prefixes, result.Prefixes)
    					t.Fatalf("%s: Expected number of prefixes in the result to be '%d', but found '%d' prefixes instead", instanceType, len(testCase.result.Prefixes), len(result.Prefixes))
    				}
    				for j := 0; j < len(testCase.result.Prefixes); j++ {
    					if testCase.result.Prefixes[j] != result.Prefixes[j] {
    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)
  6. cmd/api-response.go

    	data.VersionIDMarker = versionIDMarker
    	data.IsTruncated = resp.IsTruncated
    
    	prefixes := make([]CommonPrefix, 0, len(resp.Prefixes))
    	for _, prefix := range resp.Prefixes {
    		prefixItem := CommonPrefix{}
    		prefixItem.Prefix = s3EncodeName(prefix, encodingType)
    		prefixes = append(prefixes, prefixItem)
    	}
    	data.CommonPrefixes = prefixes
    	return data
    }
    
    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)
  7. cmd/metacache-entries.go

    	"github.com/minio/pkg/v2/console"
    )
    
    // metaCacheEntry is an object or a directory within an unknown bucket.
    type metaCacheEntry struct {
    	// name is the full name of the object including prefixes
    	name string
    	// Metadata. If none is present it is not an object but only a prefix.
    	// Entries without metadata will only be present in non-recursive scans.
    	metadata []byte
    
    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)
  8. internal/grid/handlers.go

    	// Handlers have no versioning, so non-compatible handler changes must result in new IDs.
    	handlerTest
    	handlerTest2
    	handlerLast
    )
    
    // handlerPrefixes are prefixes for handler IDs used for tracing.
    // If a handler is not listed here, it will be traced with "grid" prefix.
    var handlerPrefixes = [handlerLast]string{
    	HandlerLockLock:                    lockPrefix,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	// object layer not initialized we return with no decision.
    	if newObjectLayerFn() == nil {
    		return
    	}
    
    	// Disable server-side replication on object prefixes which are excluded
    	// from versioning via the MinIO bucket versioning extension.
    	if !globalBucketVersioningSys.PrefixEnabled(bucket, object) {
    		return
    	}
    
    	replStatus := mopts.ReplicationStatus()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. internal/s3select/sql/value_test.go

    			want:   1,
    			wantOK: true,
    		},
    		{
    			name: "scientific",
    			fields: fields{
    				value: []byte("3e5"),
    			},
    			want:   0,
    			wantOK: false,
    		},
    		{
    			// No support for prefixes
    			name: "hex",
    			fields: fields{
    				value: []byte("0xff"),
    			},
    			want:   0,
    			wantOK: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			v := &Value{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
Back to top