about summary refs log tree commit diff
path: root/.gcroots/.skip-subtree
diff options
context:
space:
mode:
authorRyan Lahfa <tvl@lahfa.xyz>2024-01-08T08·46+0100
committerclbot <clbot@tvl.fyi>2024-01-20T18·26+0000
commit7275288f0e0a0f29c3f023a7d8a4c38157fb637b (patch)
treebb678826277acf91d8538987fa6fc93badfaa325 /.gcroots/.skip-subtree
parent1f1a42b4da34bb2ad0cd75d6c822e2d24a19c0a2 (diff)
refactor(tvix/castore): break down `ingest_path` r/7431
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>
Diffstat (limited to '.gcroots/.skip-subtree')
0 files changed, 0 insertions, 0 deletions