Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for filebytes (0.32 seconds)

  1. internal/bucket/lifecycle/lifecycle_test.go

    	ruleSet := make(map[string]struct{})
    	for _, rule := range lc.Rules {
    		ruleBytes, err := xml.Marshal(rule)
    		if err != nil {
    			t.Fatal(err)
    		}
    		ruleSet[string(ruleBytes)] = struct{}{}
    	}
    	for _, rule := range lc1.Rules {
    		ruleBytes, err := xml.Marshal(rule)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if _, ok := ruleSet[string(ruleBytes)]; !ok {
    			t.Fatalf("Expected %v to be equal to %v, %v missing", lc, lc1, rule)
    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)
Back to Top