about summary refs log tree commit diff
path: root/web/bubblegum
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-03-04T00·39+0100
committertazjin <tazjin@tvl.su>2023-03-04T12·26+0000
commit67c9e2c770257efc24dabd8590b5f6618fe27bcb (patch)
treef75d7fda9c419d8072e353153d97eb07e9d292d9 /web/bubblegum
parent4cc4b2a8143bf2ecbdfde36643c233011781e5de (diff)
feat(tvix/nix-compat): introduce parsing for Nix Hash strings r/5880
We ironically didn't add support parsing for the "native" format that
Nix uses under the hood.

This extends the from_str method to peek at the prefix of the string to
determine whether to try decoding as SRI, Nix string, or whether it
should be a bare digest.

Change-Id: I33efd24968b16f86eff18305b4ca8f112c7131d7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8216
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'web/bubblegum')
0 files changed, 0 insertions, 0 deletions