Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for checkFormatErasureValue (0.1 seconds)

  1. cmd/format-erasure.go

    		if err != nil {
    			return nil, err
    		}
    		format.Info = info
    	}
    
    	// Success.
    	return format, nil
    }
    
    // Valid formatErasure basic versions.
    func checkFormatErasureValue(formatErasure *formatErasureV3, disk StorageAPI) error {
    	// Validate format version and format type.
    	if formatErasure.Version != formatMetaVersionV1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  2. cmd/format-erasure_test.go

    				}{
    					Version: "0",
    				},
    			},
    			false,
    		},
    	}
    
    	// Valid all test cases.
    	for i, testCase := range testCases {
    		if err := checkFormatErasureValue(testCase.format, nil); err != nil && testCase.success {
    			t.Errorf("Test %d: Expected failure %s", i+1, err)
    		}
    	}
    }
    
    // Tests getFormatErasureInQuorum()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  3. cmd/prepare-storage.go

    Harshavardhana <******@****.***> 1720817514 -0700
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 11.1K bytes
    - Click Count (1)
  4. cmd/erasure-sets.go

    Klaus Post <******@****.***> 1756435188 +0200
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
Back to Top