etagHasher returns the hasher we used on the config to both produce and verify ETags.
()
| 988 | // etagHasher returns the hasher we used on the config to both |
| 989 | // produce and verify ETags. |
| 990 | func etagHasher() hash.Hash { return xxhash.New() } |
| 991 | |
| 992 | // makeEtag returns an Etag header value (including quotes) for |
| 993 | // the given config path and hash of contents at that path. |
no outgoing calls