diff options
| author | 2025-11-15 00:00:00 +0000 | |
|---|---|---|
| committer | 2025-11-15 00:00:00 +0000 | |
| commit | 6655e9f74eac800e26f57ebdb143111726e8b73d (patch) | |
| tree | db36fffb1dac361f0ca42023d747081fefaeb14f /hash.go | |
| parent | Add initial support for multi pack indexes (diff) | |
| signature | ||
Use SHA-256 by default
Diffstat (limited to 'hash.go')
| -rw-r--r-- | hash.go | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1,17 +1,10 @@ package furgit import ( - "crypto/sha1" "encoding/hex" "fmt" ) -// To change the hash algorithm you probably only need to change these two lines... - -const HashSize = sha1.Size - -var newHash = sha1.Sum - // Hash represents a Git object identifier. type Hash [HashSize]byte |
