Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getStorageInfo (0.49 sec)

  1. cmd/erasure.go

    			}
    			disksInfo[index] = di
    			return nil
    		}, index)
    	}
    
    	g.Wait()
    	return disksInfo
    }
    
    // Get an aggregated storage info across all disks.
    func getStorageInfo(disks []StorageAPI, endpoints []Endpoint, metrics bool) StorageInfo {
    	disksInfo := getDisksInfo(disks, endpoints, metrics)
    
    	// Sort so that the first element is the smallest.
    	sort.Slice(disksInfo, func(i, j int) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top