- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for CompareFunc (0.06 seconds)
-
cmd/data-scanner_test.go
if sz != 0 { gots = append(gots, oi) } }) if len(gots) != len(test.wants) { t.Fatalf("Expected %d objects but got %d", len(test.wants), len(gots)) } if slices.CompareFunc(gots, test.wants, func(g, w ObjectInfo) int { if g.VersionID == w.VersionID { return 0 } return -1 }) != 0 { t.Fatalf("Expected %v but got %v", test.wants, gots) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0)