Whether `bytes` hash to `key` — the content-addressed integrity check the bare server runs on every `PUT /{family}/{key}` before storing.
(key: &str, bytes: &[u8])
| 53 | /// Whether `bytes` hash to `key` — the content-addressed integrity check the |
| 54 | /// bare server runs on every `PUT /{family}/{key}` before storing. |
| 55 | pub fn verify_key(key: &str, bytes: &[u8]) -> bool { |
| 56 | content_key(bytes) == key |
| 57 | } |
nothing calls this directly
no test coverage detected