diff options
| author | 2025-11-16 00:00:00 +0000 | |
|---|---|---|
| committer | 2025-11-16 00:00:00 +0000 | |
| commit | 5cfbd8863dfb7c6af92497d9a5eb6eb63a6bd589 (patch) | |
| tree | 42a871a72388bb6d40c479fbaa6eedde1cddc42e /hash_sha1_test.go | |
| parent | hash: Generic hash-algorithm API (diff) | |
| signature | ||
Revert "hash: Generic hash-algorithm API"
This reverts commit 94bfb1fa147f80e6ec39009d41fc2f853925e0a5.
Generics actually kinda suck for these purposes... once you look at it
from the user's perspective.
Diffstat (limited to 'hash_sha1_test.go')
| -rw-r--r-- | hash_sha1_test.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/hash_sha1_test.go b/hash_sha1_test.go index 8d5b4e9c..9f3137b9 100644 --- a/hash_sha1_test.go +++ b/hash_sha1_test.go @@ -7,15 +7,3 @@ import ( ) const testHashSize = sha1.Size - -type ( - testHashType = [sha1.Size]byte - TestHash = Hash[testHashType] - TestRepository = Repository[testHashType] - TestBlob = Blob[testHashType] - TestTree = Tree[testHashType] - TestTreeEntry = TreeEntry[testHashType] - TestCommit = Commit[testHashType] - TestTag = Tag[testHashType] - TestObject = Object[testHashType] -) |
