- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FreeVersions (0.08 sec)
-
cmd/xl-storage-free-version_test.go
// Check number of free-versions freeVersions, err := xl.listFreeVersions(newtierfi.Volume, newtierfi.Name) if err != nil { t.Fatalf("failed to list free versions %v", err) } if len(freeVersions) != 2 { t.Fatalf("Expected two free versions but got %d", len(freeVersions)) } freeVersionsTests := []struct { vol string name string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 7.8K bytes - Viewed (0) -
cmd/xl-storage-format-utils.go
// such that finally fivs.Versions has // all the non-free versions and fivs.FreeVersions has all the free // versions. n := 0 for _, fi := range fivs.Versions { // filter our tier object delete marker if fi.TierFreeVersion() { if !inclFreeVersions { fivs.FreeVersions = append(fivs.FreeVersions, fi) } } else { if !inclFreeVersions { fivs.Versions[n] = fi } n++ }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/xl-storage-format-utils_test.go
t.Fatalf("getFileInfoVersions: version with %s version id expected to have %d as NumVersions but got %d", fi.VersionID, len(fivs.Versions), fi.NumVersions) } } for i, free := range fivs.FreeVersions { if free.VersionID != freeVersionIDs[i] { t.Fatalf("getFileInfoVersions: free versions don't match at %d, version id expected %s but got %s", i, free.VersionID, freeVersionIDs[i]) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 7.1K bytes - Viewed (0)