Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parseMarker (0.07 sec)

  1. cmd/metacache-marker.go

    )
    
    // markerTagVersion is the marker version.
    // Should not need to be updated unless a fundamental change is made to the marker format.
    const markerTagVersion = "v2"
    
    // parseMarker will parse a marker possibly encoded with encodeMarker
    func (o *listPathOptions) parseMarker() {
    	s := o.Marker
    	if !strings.Contains(s, "[minio_cache:"+markerTagVersion) {
    		return
    	}
    	start := strings.LastIndex(s, "[")
    	o.Marker = s[:start]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/metacache-server-pool.go

    		o.Separator = slashSeparator
    	} else {
    		// Default is recursive, if delimiter is set then list non recursive.
    		o.Recursive = true
    	}
    
    	// Decode and get the optional list id from the marker.
    	o.parseMarker()
    	if o.BaseDir == "" {
    		o.BaseDir = baseDirFromPrefix(o.Prefix)
    	}
    	o.Transient = o.Transient || isReservedOrInvalidBucket(o.Bucket, false)
    	o.SetFilter()
    	if o.Transient {
    		o.Create = false
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		return ListObjectVersionsInfo{}, ctx.Err()
    	}
    
    	if versionMarker == "" {
    		o := listPathOptions{Marker: marker}
    		// If we are not looking for a specific version skip it.
    
    		o.parseMarker()
    		merged.forwardPast(o.Marker)
    	}
    	objects := merged.fileInfoVersions(bucket, prefix, delimiter, versionMarker)
    	loi.IsTruncated = err == nil && len(objects) > 0
    	if maxKeys > 0 && len(objects) > maxKeys {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top