Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for NewChecksumType (0.07 seconds)

  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())
    				}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top