tvl-depot/tvix/nix-compat/src/nixhash
Florian Klink c8f92c6e9f refactor(tvix/nix-compat): introduce CaHash::algo_str
This is the `{fixed,fixed:r,text}:{sha*,md5}` prefix used in various
string representations.

Factor that code out, and use it in the two places it can be used in.

Change-Id: Ic9555fa9e1884198d435e55c7f630b8d3ba2a032
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12041
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Brian Olsen <me@griff.name>
2024-07-27 10:53:56 +00:00
..
algos.rs fix(tvix/nix-compat): Make CAHash deserialize more formats 2024-03-03 13:07:18 +00:00
ca_hash.rs refactor(tvix/nix-compat): introduce CaHash::algo_str 2024-07-27 10:53:56 +00:00
mod.rs chore(nix-compat/nixhash): migrate from test_case to rstest 2024-04-19 19:22:10 +00:00