diff options
author | Florian Klink <flokli@flokli.de> | 2024-04-13T16·57+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-04-15T14·47+0000 |
commit | 6ebaa7b88a25636ee90f21b3a42a3674c98d00ef (patch) | |
tree | 95d927faabf4b9d2111526e8ae55e6bb1e54bd77 /tvix/clippy.toml | |
parent | c088123d4e8c0b49cf0af568426d6d146a07f44c (diff) |
refactor(tvix/castore/import): restructure directory uploader a bit r/7927
Have a Option<Box<dyn DirectoryPutter>>, which is lazily initialized whenever we first want to upload a directory. Have the loop explicitly break when it encounters the root_node, and deal with the flushing after the loop. Deal with the FUTUREWORK (assertion for root directory digest matching what the DirectoryPutter returns). Change-Id: Iefc4904d8b8387e868fb752d40e3e4e4218c7407 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11417 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/clippy.toml')
0 files changed, 0 insertions, 0 deletions