diff options
author | Florian Klink <flokli@flokli.de> | 2023-09-21T22·08+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-09-22T12·12+0000 |
commit | d8ef0cfb4a859af7e33828b013356412d02532da (patch) | |
tree | eb802886533a3cb1a1aa2ddb638413701330fa42 /tvix/cli/src | |
parent | 7c9a52e3ee99ad14b453a1929c2a5a3a53d51505 (diff) |
docs(tvix/castore): rename traverse_to -> descend_to r/6628
With the move of this code out into castore it has become apparent this is a general descent inside the castore. Concerns like making sure the whole Directory closure has been fetched/is fetched initially is nothing this layer needs to worry about. We can handle this during substitution of a new PathInfo, once there's store composition. Closes b/270. Change-Id: I661ed08e54bc81478e032cfb9abeb23e5b337fbe Reviewed-on: https://cl.tvl.fyi/c/depot/+/9373 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/cli/src')
-rw-r--r-- | tvix/cli/src/tvix_store_io.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/cli/src/tvix_store_io.rs b/tvix/cli/src/tvix_store_io.rs index 1ea718f1a188..ef112858b1bc 100644 --- a/tvix/cli/src/tvix_store_io.rs +++ b/tvix/cli/src/tvix_store_io.rs @@ -90,7 +90,7 @@ impl TvixStoreIO { let directory_service = self.directory_service.clone(); let sub_path = sub_path.to_owned(); let task = self.tokio_handle.spawn(async move { - directoryservice::traverse_to(directory_service, root_node, &sub_path).await + directoryservice::descend_to(directory_service, root_node, &sub_path).await }); Ok(self.tokio_handle.block_on(task).unwrap()?) |