Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FULLOBJ (0.03 sec)

  1. internal/hash/checksum_test.go

    )
    
    // TestChecksumAddToHeader tests that adding and retrieving a checksum on a header works
    func TestChecksumAddToHeader(t *testing.T) {
    	tests := []struct {
    		name     string
    		checksum ChecksumType
    		fullobj  bool
    		wantErr  bool
    	}{
    		{"CRC32-composite", ChecksumCRC32, false, false},
    		{"CRC32-full-object", ChecksumCRC32, true, false},
    		{"CRC32C-composite", ChecksumCRC32C, false, false},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. internal/hash/checksum.go

    	}
    	if c.Is(ChecksumIncludesMultipart) {
    		out = append(out, "INCLUDESMP")
    	}
    	if c.Is(ChecksumTrailing) {
    		out = append(out, "TRAILING")
    	}
    	if c.Is(ChecksumFullObject) {
    		out = append(out, "FULLOBJ")
    	}
    	return strings.Join(out, "|")
    }
    
    // FullObjectRequested will return if the checksum type indicates full object checksum was requested.
    func (c ChecksumType) FullObjectRequested() bool {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top