tvl-depot/tvix/castore
Ryan Lahfa 7275288f0e refactor(tvix/castore): break down ingest_path
In one function that does the heavy lifting: `ingest_entries`, and three additional helpers:

- `walk_path_for_ingestion` which perform the tree walking in a very naive way and can be replaced by the user
- `leveled_entries_to_stream` which transforms a list of a list of
  entries ordered by their depth in the tree to a stream of entries in
  the bottom to top order (Merkle-compatible order I will say in the
  future).
- `ingest_path` which calls the previous functions.

Change-Id: I724b972d3c5bffc033f03363255eae448f017cef
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10573
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: raitobezarius <tvl@lahfa.xyz>
2024-01-20 18:26:17 +00:00
..
docs docs(tvix/castore): add notes on verified streaming 2023-11-02 09:08:20 +00:00
protos docs(tvix/castore/protos): remove reference 2023-12-21 16:44:48 +00:00
src refactor(tvix/castore): break down ingest_path 2024-01-20 18:26:17 +00:00
build.rs chore(tvix/[ca]store): allow building without tonic-reflection 2023-09-26 10:07:40 +00:00
Cargo.toml chore(tvix): bump test-case dep to 3.3.1 2024-01-05 16:43:34 +00:00
default.nix refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00