docs(tvix/castore): rename traverse_to -> descend_to
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>
This commit is contained in:
parent
7c9a52e3ee
commit
d8ef0cfb4a
3 changed files with 14 additions and 18 deletions
|
|
@ -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()?)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue