Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for encodeMarker (0.2 sec)

  1. cmd/metacache-marker.go

    				o.ID = mustGetUUID()
    				o.Create = true
    				continue
    			}
    			o.set = int(v)
    		default:
    			// Ignore unknown
    		}
    	}
    }
    
    // encodeMarker will encode a uuid and return it as a marker.
    // uuid cannot contain '[', ':' or ','.
    func (o listPathOptions) encodeMarker(marker string) string {
    	if o.ID == "" {
    		// Mark as returning listing...
    		return fmt.Sprintf("%s[minio_cache:%s,return:]", marker, markerTagVersion)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    				loi.Prefixes = append(loi.Prefixes, obj.Name)
    			}
    		} else {
    			loi.Objects = append(loi.Objects, obj)
    		}
    	}
    	if loi.IsTruncated {
    		last := objects[len(objects)-1]
    		loi.NextMarker = opts.encodeMarker(last.Name)
    		loi.NextVersionIDMarker = last.VersionID
    	}
    	return loi, nil
    }
    
    func maxKeysPlusOne(maxKeys int, addOne bool) int {
    	if maxKeys < 0 || maxKeys > maxObjectList {
    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)
Back to top