Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for delimiter (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/object_api_suite_test.go

    			t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "newPrefix", result.Objects[4].Name)
    		}
    	}
    
    	// check delimited results with delimiter and prefix.
    	{
    		_, err = obj.PutObject(context.Background(), "bucket", "this/is/delimited", mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), int64(len(uploadContent)), "", ""), opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    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)
  6. cmd/bucket-listobjects-handlers.go

    // Special conditions required by MinIO server are as below
    //   - delimiter if set should be equal to '/', otherwise the request is rejected.
    //   - marker if set should have a common prefix with 'prefix' param, otherwise
    //     the request is rejected.
    func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode {
    	// Max keys cannot be negative.
    	if maxKeys < 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. cmd/bucket-handlers_test.go

    			prefix:             "",
    			keyMarker:          "",
    			uploadIDMarker:     "",
    			delimiter:          "",
    			maxUploads:         "0",
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusNotFound,
    			shouldPass:         false,
    		},
    		// Test case -3.
    		// Delimiter unsupported, but response is empty.
    		{
    			bucket:             bucketName,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  8. 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)
  9. cmd/s3-zip-handlers.go

    			continue
    		}
    		if strings.HasPrefix(objName, prefix) {
    			if count == maxKeys {
    				isTruncated = true
    				break
    			}
    			if delimiter != "" {
    				i := strings.Index(objName[len(prefix):], delimiter)
    				if i >= 0 {
    					commonPrefix := objName[:len(prefix)+i+1]
    					if len(listObjectsInfo.Prefixes) == 0 || commonPrefix != listObjectsInfo.Prefixes[len(listObjectsInfo.Prefixes)-1] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    func (er erasureObjects) ListMultipartUploads(ctx context.Context, bucket, object, keyMarker, uploadIDMarker, delimiter string, maxUploads int) (result ListMultipartsInfo, err error) {
    	auditObjectErasureSet(ctx, object, &er)
    
    	result.MaxUploads = maxUploads
    	result.KeyMarker = keyMarker
    	result.Prefix = object
    	result.Delimiter = delimiter
    
    	var uploadIDs []string
    	var disk StorageAPI
    	disks := er.getOnlineLocalDisks()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
Back to top