Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestExcludeFolders (0.07 sec)

  1. internal/bucket/versioning/versioning_test.go

    	var v Versioning
    	if v.Enabled() {
    		t.Fatalf("Expected to be disabled but got enabled")
    	}
    	if v.Suspended() {
    		t.Fatalf("Expected to be disabled but got suspended")
    	}
    }
    
    func TestExcludeFolders(t *testing.T) {
    	v := Versioning{
    		Status:         Enabled,
    		ExcludeFolders: true,
    	}
    	testPrefixes := []string{"jobs/output/_temporary/", "jobs/output/", "jobs/"}
    	for i, prefix := range testPrefixes {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
Back to top