Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ToObjectInfo (0.06 sec)

  1. cmd/erasure-object.go

    	if err != nil {
    		return oi, toObjectErr(err, srcBucket, srcObject)
    	}
    	if fi.Deleted {
    		if srcOpts.VersionID == "" {
    			return oi, toObjectErr(errFileNotFound, srcBucket, srcObject)
    		}
    		return fi.ToObjectInfo(srcBucket, srcObject, srcOpts.Versioned || srcOpts.VersionSuspended), toObjectErr(errMethodNotAllowed, srcBucket, srcObject)
    	}
    
    	filterOnlineDisksInplace(fi, metaArr, onlineDisks)
    
    	versionID := srcInfo.VersionID
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    			time.Sleep(delay + time.Duration(rnd.Float64()*float64(delay)))
    			continue
    		}
    
    		break
    	}
    
    	return nil
    }
    
    // toObjectInfo converts minio.ObjectInfo to ObjectInfo
    func toObjectInfo(bucket, object string, objInfo miniogo.ObjectInfo) ObjectInfo {
    	tags, _ := tags.MapToObjectTags(objInfo.UserTags)
    	oi := ObjectInfo{
    		Bucket:                    bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.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/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