Commit fa847a1
authored
hash: do not salt with Go runtime version (#292)
Currently the cache code, taken directly from the Go internal
code, salts every hash with the current Go runtime version.
This is appropriate for Go itself but not for here where
the cache package is intended for more general use.
People that need the hashes to depend on the Go runtime version
can explicitly include it as part of the hash.1 parent 9ee3698 commit fa847a1
2 files changed
+0
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 31 | | |
49 | 32 | | |
50 | 33 | | |
| |||
81 | 64 | | |
82 | 65 | | |
83 | 66 | | |
84 | | - | |
85 | 67 | | |
86 | 68 | | |
87 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 14 | | |
21 | 15 | | |
22 | 16 | | |
| |||
0 commit comments