Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LatestOnly (0.05 sec)

  1. cmd/object-api-interface.go

    type WalkOptions struct {
    	Filter       func(info FileInfo) bool // return WalkFilter returns 'true/false'
    	Marker       string                   // set to skip until this object
    	LatestOnly   bool                     // returns only latest versions for all matching objects
    	AskDisks     string                   // dictates how many disks are being listed
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    		}
    		for _, prefix := range prefixes {
    			prefixResultCh := make(chan itemOrErr[ObjectInfo], workerSize)
    			err := api.Walk(ctx, r.Bucket, prefix, prefixResultCh, WalkOptions{
    				Marker:       lastObject,
    				LatestOnly:   false, // we need to visit all versions of the object to implement purge: retainVersions
    				VersionsSort: WalkVersionsSortDesc,
    			})
    			if err != nil {
    				cancelCause(err)
    				xioutil.SafeClose(results)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top