diff options
author | Florian Klink <flokli@flokli.de> | 2024-05-12T10·09+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-05-13T22·05+0000 |
commit | ed584b92964700b8222d5f97891ed34e319d689c (patch) | |
tree | b651abcb50b0cf52b92d99076d56bdc59101325b /tvix/castore/src/directoryservice/grpc.rs | |
parent | 7fd4adc1293b4b01adaf754d3b475adff5d5aeb9 (diff) |
feat(tvix/castore/directory/traverse_directory): simplify r/8141
Use try_stream! rather than stream!, and a bit more map_err and ok_err to make things a bit more concise. Once we have proper error types here, and impl Froms, a lot of the error mapping would disappear entirely. Change-Id: I5240a6b0ff7818b94c151322774242b2c142e33b Reviewed-on: https://cl.tvl.fyi/c/depot/+/11633 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/castore/src/directoryservice/grpc.rs')
0 files changed, 0 insertions, 0 deletions