Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for SliceStable (0.06 seconds)

  1. cmd/erasure-object.go

    		// two delete markers on top of any object. To avoid this situation,
    		// we will sort deletions to execute existing deletion first,
    		// then add only one delete marker if requested
    		sort.SliceStable(fivs.Versions, func(i, j int) bool {
    			return !fivs.Versions[i].Deleted
    		})
    		if idx := slices.IndexFunc(fivs.Versions, func(fi FileInfo) bool {
    			return fi.Deleted
    		}); idx > -1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
Back to Top