Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SharedDataDirCount (0.09 sec)

  1. cmd/xl-storage-format-v2_test.go

    		fileInfos = append(fileInfos, fi)
    	}
    
    	for i, tc := range testCases {
    		_, version, err := xl.findVersion(uuid.MustParse(tc.versionID))
    		failOnErr(i+1, err)
    		if got := xl.SharedDataDirCount(version.getVersionID(), version.ObjectV2.DataDir); got != tc.shares {
    			t.Fatalf("Test %d: For %#v, expected sharers of data directory %d got %d", i+1, version.ObjectV2.VersionID, tc.shares, got)
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top