about summary refs log tree commit diff
path: root/tvix/castore/protos/castore.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-12T23·09+0200
committerclbot <clbot@tvl.fyi>2023-10-14T12·09+0000
commit532f414da6afd9f0b9409d1b944f91da143d8b5c (patch)
tree62810c87a966511fe851f2b213b1ac57471b8d9d /tvix/castore/protos/castore.go
parentf3353b5dcf63a8bffcfff9f8ac4e8c1fd95684e0 (diff)
refactor(tvix/castore): simplify node validation checks r/6798
We can just check the digest length to be correct, and move the symlink
target checks to a single line.

Change-Id: I41d2e3a50e7990ef6c04f02acd754b1e17b43e77
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9717
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/castore/protos/castore.go')
0 files changed, 0 insertions, 0 deletions