about summary refs log tree commit diff
path: root/tvix/store/src/proto.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-12-27T15·11+0100
committerflokli <flokli@flokli.de>2022-12-27T21·31+0000
commitdfd9286f680ef69ff89ab9a9081b2beaabda92be (patch)
tree4fc5d04e33dff412c4bfddea004a960586b65759 /tvix/store/src/proto.rs
parentc3fb6d22187fc759563b265cfab65a48a6e4fa08 (diff)
feat(tvix/store/protos): implement Directory.Validate() r/5509
Validate thecks the Directory message for invalid data, such as:
- violations of name restrictions
- invalid digest lengths
- not properly sorted lists
- duplicate names in the three lists

Change-Id: I8d43a13797793c64097e526ef3bd482c9606c87b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7648
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/proto.rs')
0 files changed, 0 insertions, 0 deletions