commit | 57324287c58be60c21af8351bc38794a165745f8 | [log] [tgz] |
---|---|---|
author | Kevin Wells <kevinwells@google.com> | Fri May 24 19:40:02 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri May 24 19:40:02 2019 +0000 |
tree | 295898fc79d883c7c13471a3710df6a9a6cb7939 | |
parent | 3cfae00e2f3d0ccaaa702743ae7eb2fdaef0376e [diff] |
[fuchsia-merkle] Cleanup Hash parsing/display This change: * Switches Hash's FromStr to use hex's array decoding, avoiding the need to manually check the decoded length and copy the bytes around * Debug prints hashes as hex encoded bytes instead of a slice of u8 * Uses a strongly typed error instead of using failure::Error * Adds additional tests to verify invalid inputs are rejected Test: CQ/unit tests Change-Id: I3c8a535bd81fb7cd24df34b56ff21237e8ab820a
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.