Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getFormatJSON (0.31 sec)

  1. docs/debugging/reorder-disks/main.go

    				return nil, err
    			}
    			if strings.Contains(u.Host, node) {
    				result = append(result, localDisk{index: index, path: u.Path})
    			}
    		}
    	}
    
    	return result, nil
    }
    
    func getFormatJSON(path string) (format, error) {
    	formatJSON, err := os.ReadFile(filepath.Join(path, ".minio.sys/format.json"))
    	if err != nil {
    		return format{}, err
    	}
    	var f format
    	err = json.Unmarshal(formatJSON, &f)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top