snix/tvix/store/src
Florian Klink 2fe53cce40 feat(tvix/store/directorysvc): add DirectoryService::get_recursive()
This moves the recursive BFS traversal of Directory closures from the
GRPCDirectoryServiceWrapper out into a a DirectoryTraverser struct
implementing Iterator.

It is then used from various implementors of DirectoryService in the
`get_recursive()` method.

This allows distinguishing between recursive requests and non-recursive
requests in the gRPC client trait implementation.

Change-Id: I50bfd4a0d9eb11832847329b78c587ec7c9dc7b1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8351
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2023-03-27 09:03:34 +00:00
..
bin feat(tvix/store/bin): print store path 2023-03-19 20:57:27 +00:00
blobservice refactor(tvix/store): impl Default for MemoryBlobService 2023-03-10 12:15:02 +00:00
chunkservice chore(tvix/store/chunkservice): clippy lint 2023-03-17 07:49:37 +00:00
directoryservice feat(tvix/store/directorysvc): add DirectoryService::get_recursive() 2023-03-27 09:03:34 +00:00
nar refactor(tvix/store/nar): pass in &proto::node::Node 2023-03-17 07:49:38 +00:00
pathinfoservice feat(tvix/store/pathinfosvc): add gRPC client 2023-03-27 08:48:41 +00:00
proto feat(tvix/store/directorysvc): add DirectoryService::get_recursive() 2023-03-27 09:03:34 +00:00
tests refactor(tvix/store/nar): pass in &proto::node::Node 2023-03-17 07:49:38 +00:00
blobreader.rs docs(tvix/store/blobreader): fix docstring 2023-03-27 08:44:40 +00:00
errors.rs feat(tvix/store/pathinfosvc): add gRPC client 2023-03-27 08:48:41 +00:00
import.rs refactor(tvix/store/directorysvc): use [u8; 32] instead of Vec<u8> 2023-03-16 13:47:32 +00:00
lib.rs feat(tvix/store): drop BlobWriter 2023-03-13 10:05:21 +00:00