- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestExcludedPrefixesMatch (0.47 sec)
-
internal/bucket/versioning/versioning_test.go
for i, prefix := range testPrefixes { if !v.PrefixEnabled(prefix) || v.PrefixSuspended(prefix) { t.Fatalf("Test %d: Expected versioning to be enabled for %s", i+1, prefix) } } } func TestExcludedPrefixesMatch(t *testing.T) { v := Versioning{ Status: Enabled, ExcludedPrefixes: []ExcludedPrefix{{"*/_temporary/"}}, } if err := v.Validate(); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 08 05:06:44 UTC 2022 - 8.8K bytes - Viewed (0)