Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isAllFreeVersions (0.11 sec)

  1. cmd/metacache-entries.go

    		return true
    	}
    	return xlMeta.versions[0].header.Type == DeleteType
    }
    
    // isAllFreeVersions returns if all objects are free versions.
    // If metadata is NOT versioned false will always be returned.
    // If v2 and UNABLE to load metadata true will be returned.
    func (e *metaCacheEntry) isAllFreeVersions() bool {
    	if e.cached != nil {
    		if len(e.cached.versions) == 0 {
    			return true
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    				return true
    			}
    			if !o.InclDeleted && entry.isObject() && entry.isLatestDeletemarker() && !entry.isObjectDir() {
    				return true
    			}
    			if !o.InclDeleted && entry.isAllFreeVersions() {
    				return true
    			}
    			entries.o = append(entries.o, entry)
    			return entries.len() < o.Limit
    		})
    		if (err != nil && errors.Is(err, io.EOF)) || pastPrefix || r.nextEOF() {
    			return entries, io.EOF
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top