Commit 841e05c
committed
pack: add a constant for max hash size
With SHA-256, our maximum hash size is increasing, so we'll need to
increase the size of our buffers when reading. However, we'd like to
avoid just hard-coding the value 32, so let's create a constant we can
update easily should we need to change things in the future.1 parent 6324dd6 commit 841e05c
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
0 commit comments