about summary refs log tree commit diff
path: root/tvix/Cargo.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-12-29T20·32+0100
committerflokli <flokli@flokli.de>2022-12-29T21·55+0000
commit5ba47a2bc39b95fa4ece5d52ce08bfeda130367f (patch)
tree37201645e03bd0a60d13066741414d1c7d78d128 /tvix/Cargo.nix
parente97a429e73c8bce41a88527fdebce4f1373152a6 (diff)
feat(tvix/store): parameterise validate_node_name error r/5549
We'll be using validate_node_name in other places in a bit, where
returning a ValidateDirectoryError is not appropriate.

Accept a function mapping a string to error as a second argument, and
pass ValidateDirectoryError::InvalidName at the current call sites.

Change-Id: I45cbb0deb4763061ad912c6b18a112c727795a17
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7682
Tested-by: BuildkiteCI
Reviewed-by: jrhahn <mail.jhahn@gmail.com>
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/Cargo.nix')
0 files changed, 0 insertions, 0 deletions