- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for NumVersions (0.09 seconds)
-
cmd/xl-storage-format-utils_test.go
} chkNumVersions := func(fis []FileInfo) bool { for i := 0; i < len(fis)-1; i++ { if fis[i].NumVersions != fis[i+1].NumVersions { return false } } return true } if !chkNumVersions(fivs.Versions) { t.Fatalf("Expected all versions to have the same NumVersions") } sort.Slice(versions, func(i, j int) bool { if versions[i].IsLatest { return true }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.1K bytes - Click Count (0) -
cmd/erasure-metadata_test.go
t.Errorf("Expected IsLatest to be %v but got %v", test.expectedIsLatest, fi.IsLatest) } } if test.numVersions != nil && test.expectedNumVersions > 0 { if test.expectedNumVersions != fi.NumVersions { t.Errorf("Expected Numversions to be %d but got %d", test.expectedNumVersions, fi.NumVersions) } } }) } } func TestTransitionInfoEquals(t *testing.T) { inputs := []struct {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
cmd/data-scanner_test.go
// Tests cover only ExpiredObjectDeleteAllVersions and DelMarkerExpiration actions numVersions := 4 obj := ObjectInfo{ Name: "foo", ModTime: time.Now().Add(-31 * 24 * time.Hour), Size: 100 << 20, VersionID: uuid.New().String(), IsLatest: true, NumVersions: numVersions, } delMarker := ObjectInfo{ Name: "foo-deleted",Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
cmd/erasure-metadata.go
found = true } props := objProps{ succModTime: metaArr[i].SuccessorModTime, numVersions: metaArr[i].NumVersions, } otherPropsMap[props]++ } } } if found { // Update candidate FileInfo with succModTime and numVersions in quorum when available if props, ok := otherPropsMap.GetValueWithQuorum(quorum); ok { candidate.SuccessorModTime = props.succModTimeCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 21.3K bytes - Click Count (0) -
cmd/rebalance-admin.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.8K bytes - Click Count (0) -
cmd/data-usage-cache_gen.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 85.5K bytes - Click Count (0) -
cmd/object-api-datatypes.go
keyRotation: o.keyRotation, AccTime: o.AccTime, Legacy: o.Legacy, VersionPurgeStatus: o.VersionPurgeStatus, NumVersions: o.NumVersions, SuccessorModTime: o.SuccessorModTime, ReplicationStatusInternal: o.ReplicationStatusInternal, VersionPurgeStatusInternal: o.VersionPurgeStatusInternal, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21.2K bytes - Click Count (0) -
cmd/erasure-healing-common_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 22.4K bytes - Click Count (0) -
cmd/data-scanner.go
defer func() { if !ok { return } if lcEvent.Action != lifecycle.NoneAction { numVersions := uint64(1) if lcEvent.Action.DeleteAll() { numVersions = uint64(obj.NumVersions) } timeILM(numVersions) } }() dobj, err = objLayer.DeleteObject(ctx, obj.Bucket, encodeDirObject(obj.Name), opts) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 45.5K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
DeleteMarker: tc.isDelMarker, IsLatest: !tc.isNoncurrent, SuccessorModTime: tc.objectSuccessorModTime, VersionID: tc.versionID, } opts.NumVersions = 1 if tc.hasManyVersions { opts.NumVersions = 2 // at least one noncurrent version } if res := lc.Eval(opts); res.Action != tc.expectedAction { t.Fatalf("Expected action: `%v`, got: `%v`", tc.expectedAction, res.Action) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0)