- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for NumVersions (0.06 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) -
internal/bucket/lifecycle/evaluator.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Apr 08 15:41:24 GMT 2025 - 4.6K 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) -
internal/bucket/lifecycle/evaluator_test.go
for i := range tagKeys { obj := ObjectOpts{ Name: "obj", VersionID: verIDs[i], ModTime: curModTime.Add(time.Duration(-i) * time.Second), UserTags: fmt.Sprintf("%s=minio", tagKeys[i]), NumVersions: len(verIDs), } if i == 0 { obj.IsLatest = true } else { obj.SuccessorModTime = curModTime.Add(time.Duration(-i+1) * time.Second) } objs = append(objs, obj) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Apr 08 15:41:24 GMT 2025 - 5K bytes - Click Count (0) -
cmd/xl-storage-format-utils.go
} } else { if !inclFreeVersions { fivs.Versions[n] = fi } n++ } } if !inclFreeVersions { fivs.Versions = fivs.Versions[:n] } // Update numversions for i := range fivs.Versions { fivs.Versions[i].NumVersions = n } return fivs, nil } func getAllFileInfoVersions(xlMetaBuf []byte, volume, path string, allParts bool) (FileInfoVersions, error) { var versions []FileInfo var err errorCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 5.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)