Get a new Hash instance of the type used to hash LFS content
()
| 41 | |
| 42 | // Get a new Hash instance of the type used to hash LFS content |
| 43 | func NewLfsContentHash() hash.Hash { |
| 44 | return sha256.New() |
| 45 | } |
| 46 | |
| 47 | // HashingReader wraps a reader and calculates the hash of the data as it is read |
| 48 | type HashingReader struct { |
no outgoing calls
no test coverage detected