diff options
author | Florian Klink <flokli@flokli.de> | 2022-12-29T20·32+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2022-12-29T21·55+0000 |
commit | 5ba47a2bc39b95fa4ece5d52ce08bfeda130367f (patch) | |
tree | 37201645e03bd0a60d13066741414d1c7d78d128 /.envrc | |
parent | e97a429e73c8bce41a88527fdebce4f1373152a6 (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 '.envrc')
0 files changed, 0 insertions, 0 deletions