Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsMultipart (0.1 sec)

  1. internal/crypto/metadata_test.go

    	{Multipart: false, Metadata: map[string]string{"": ""}},                                    // 3
    	{Multipart: false, Metadata: map[string]string{"X-Minio-Internal-EncryptedMultipart": ""}}, // 4
    }
    
    func TestIsMultipart(t *testing.T) {
    	for i, test := range isMultipartTests {
    		if isMultipart := IsMultiPart(test.Metadata); isMultipart != test.Multipart {
    			t.Errorf("Test %d: got '%v' - want '%v'", i, isMultipart, test.Multipart)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top