about summary refs log tree commit diff
path: root/tvix/cli/src/repl.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-07-27T10·04+0300
committerclbot <clbot@tvl.fyi>2024-07-27T10·53+0000
commitc8f92c6e9fea7c15b4fc0bce6f087d34b45d4710 (patch)
tree02222df3f0893dc64e8a97c4918cca25a5a2320b /tvix/cli/src/repl.rs
parent5114504b675cf334dd8476a4a64eb77c5d405896 (diff)
refactor(tvix/nix-compat): introduce CaHash::algo_str r/8414
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>
Diffstat (limited to 'tvix/cli/src/repl.rs')
0 files changed, 0 insertions, 0 deletions