diff options
author | Florian Klink <flokli@flokli.de> | 2023-01-02T11·32+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-01-03T13·03+0000 |
commit | 8e2b1de3d5e687eab1cc36117b12d68553588562 (patch) | |
tree | a3c8bb4b03a58c8ba0b2a2cdf77ae694c263d822 /third_party/gerrit/0001-Syntax-highlight-nix.patch | |
parent | 2df642231cfa2ea59869a5112201e3f38cfeb271 (diff) |
feat(tvix/store/nixpath): DIGEST_SIZE public, use more consts r/5572
Rename PATH_HASH_SIZE to DIGEST_SIZE. It's a digest, not hash (we don't necessarily have the internal hash state anymore), and the fact it's about (Nix)Paths is already visible from the module name. Also expose ENCODED_DIGEST_SIZE, so we don't need to do the calculation inside from_string() method, and it becomes more clear this is a constant. Change-Id: I0e7577dd7a6e503039037b986313b214e995d826 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7725 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: jrhahn <mail.jhahn@gmail.com> Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/gerrit/0001-Syntax-highlight-nix.patch')
0 files changed, 0 insertions, 0 deletions