Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for toObjectInfo (0.14 sec)

  1. cmd/metacache-entries.go

    			for _, version := range fiVersions {
    				if !version.VersionPurgeStatus().Empty() {
    					continue
    				}
    				versioned := vcfg != nil && vcfg.Versioned(entry.name)
    				versions = append(versions, version.ToObjectInfo(bucket, entry.name, versioned))
    			}
    
    			continue
    		}
    
    		if entry.isDir() {
    			if delimiter == "" {
    				continue
    			}
    			idx := strings.Index(strings.TrimPrefix(entry.name, prefix), delimiter)
    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/erasure-server-pool-decom.go

    		set := set
    
    		filterLifecycle := func(bucket, object string, fi FileInfo) bool {
    			if lc == nil {
    				return false
    			}
    			versioned := vc != nil && vc.Versioned(object)
    			objInfo := fi.ToObjectInfo(bucket, object, versioned)
    
    			evt := evalActionFromLifecycle(ctx, *lc, lr, rcfg, objInfo)
    			switch {
    			case evt.Action.DeleteRestored(): // if restored copy has expired, delete it synchronously
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    					sendErr(err)
    					return
    				}
    				if opts.Filter != nil {
    					if opts.Filter(fi) {
    						if !send(fi.ToObjectInfo(bucket, fi.Name, vcfg != nil && vcfg.Versioned(fi.Name))) {
    							return
    						}
    					}
    				} else {
    					if !send(fi.ToObjectInfo(bucket, fi.Name, vcfg != nil && vcfg.Versioned(fi.Name))) {
    						return
    					}
    				}
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    		set := set
    
    		filterLifecycle := func(bucket, object string, fi FileInfo) bool {
    			if lc == nil {
    				return false
    			}
    			versioned := vc != nil && vc.Versioned(object)
    			objInfo := fi.ToObjectInfo(bucket, object, versioned)
    
    			evt := evalActionFromLifecycle(ctx, *lc, lr, rcfg, objInfo)
    			if evt.Action.Delete() {
    				globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_Rebal)
    				return true
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    			latestMeta.Erasure.ParityBlocks, latestMeta.Erasure.BlockSize)
    		if err != nil {
    			return result, err
    		}
    	}
    
    	result.ObjectSize, err = latestMeta.ToObjectInfo(bucket, object, true).GetActualSize()
    	if err != nil {
    		return result, err
    	}
    
    	// Loop to find number of disks with valid data, per-drive
    	// data state and a list of outdated disks on which data needs
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    	data := o.Checksum
    	if len(data) == 0 {
    		return nil
    	}
    	if part > 0 && !crypto.SSEC.IsEncrypted(o.UserDefined) {
    		// already decrypted in ToObjectInfo for multipart objects
    		for _, pi := range o.Parts {
    			if pi.Number == part {
    				return pi.Checksums
    			}
    		}
    	}
    	if _, encrypted := crypto.IsEncrypted(o.UserDefined); encrypted {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    			break
    		}
    	}
    
    	// we are adding a new version to this object under the namespace lock, so this is the latest version.
    	fi.IsLatest = true
    
    	// Success, return object info.
    	return fi.ToObjectInfo(bucket, object, opts.Versioned || opts.VersionSuspended), nil
    }
    
    // AbortMultipartUpload - aborts an ongoing multipart operation
    // signified by the input uploadID. This is an atomic operation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    					sizeS.tiers[tier] = st.add(oi.tierStats())
    				}
    			}
    		}
    
    		// apply tier sweep action on free versions
    		for _, freeVersion := range fivs.FreeVersions {
    			oi := freeVersion.ToObjectInfo(item.bucket, item.objectPath(), versioned)
    			done = globalScannerMetrics.time(scannerMetricTierObjSweep)
    			globalExpiryState.enqueueFreeVersion(oi)
    			done()
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top