Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewChecksumType (0.06 sec)

  1. internal/hash/checksum_test.go

    			// Skip invalid cases where SHA1 or SHA256 is used with full object
    			if (tt.checksum.Is(ChecksumSHA1) || tt.checksum.Is(ChecksumSHA256)) && tt.fullobj {
    				// Validate that NewChecksumType correctly marks these as invalid
    				alg := tt.checksum.String()
    				typ := NewChecksumType(alg, xhttp.AmzChecksumTypeFullObject)
    				if !typ.Is(ChecksumInvalid) {
    					t.Fatalf("Expected ChecksumInvalid for %s with full object, got %s", tt.name, typ.StringFull())
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top