Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetActualSize (0.06 sec)

  1. cmd/batch-handlers.go

    	}
    	rd, err := api.GetObjectNInfo(ctx, srcBucket, srcObject, nil, http.Header{}, opts)
    	if err != nil {
    		return err
    	}
    	defer rd.Close()
    	objInfo := rd.ObjInfo
    
    	size, err := objInfo.GetActualSize()
    	if err != nil {
    		return err
    	}
    
    	putOpts, err := batchReplicationOpts(ctx, "", objInfo)
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    			done()
    
    			// DeleteAllVersionsAction: The object and all its
    			// versions are expired and
    			// doesn't contribute toward data usage.
    			if objDeleted {
    				break
    			}
    			actualSz, err := oi.GetActualSize()
    			if err != nil {
    				continue
    			}
    
    			if oi.DeleteMarker {
    				sizeS.deleteMarkers++
    			}
    			if oi.VersionID != "" && sz == actualSz {
    				sizeS.versions++
    			}
    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