Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddNonTrailingChecksum (0.43 sec)

  1. internal/hash/reader.go

    	if err != nil {
    		return ErrInvalidChecksum
    	}
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	return r.AddNonTrailingChecksum(cs, ignoreValue)
    }
    
    // AddNonTrailingChecksum will add a checksum to the reader.
    // The checksum cannot be trailing.
    func (r *Reader) AddNonTrailingChecksum(cs *Checksum, ignoreValue bool) error {
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	if ignoreValue {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top