about summary refs log tree commit diff
path: root/tvix/store/src/lib.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-02-12T11·08+0100
committerflokli <flokli@flokli.de>2023-03-10T10·58+0000
commit60abca1d8eef44b692694c82cdb3da15eab5b0a4 (patch)
tree1354c54e06bb69ddd3201c06c62ac1656b6b8537 /tvix/store/src/lib.rs
parentcff6d1e89532a4c62a12401b1e36ab63a603e545 (diff)
feat(tvix/store): add blobreader r/5906
A BlobReader can be used to read a blob, which might consist out of
multiple chunks. Chunks are fetched from a ChunkService.

Change-Id: I1806225b0052adaa4a2320b79b744e554e524ee3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8088
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/store/src/lib.rs')
-rw-r--r--tvix/store/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/store/src/lib.rs b/tvix/store/src/lib.rs
index aa0fcd0c9619..12250a9c0d51 100644
--- a/tvix/store/src/lib.rs
+++ b/tvix/store/src/lib.rs
@@ -1,11 +1,13 @@
 pub mod client;
 
+mod blobreader;
 mod errors;
 
 pub mod blobservice;
 pub mod chunkservice;
 pub mod proto;
 
+pub use blobreader::BlobReader;
 pub mod dummy_blob_service;
 pub mod sled_directory_service;
 pub mod sled_path_info_service;