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-26T21·31+0100
committerflokli <flokli@flokli.de>2023-03-10T10·58+0000
commit0baaabc43e3027b1676874c536d5ade27abe14b8 (patch)
tree918d3d645a405d187038fae2944431d85eba9d1d /tvix/store/src/lib.rs
parentd8ab140d2505aa1669bc9378012d736dfa19cac4 (diff)
refactor(tvix/store): move blob splitting into a BlobWriter struct r/5927
This will moves the chunking-as-we-receive logic that so far only lived
in grpc_blobservice_wrapper.rs into a generic BlobWriter.

Change-Id: Ief7d1bda3c6280129f7139de3f6c4174be2ca6ea
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8154
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
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 f294e39ad41a..c345cb9b1009 100644
--- a/tvix/store/src/lib.rs
+++ b/tvix/store/src/lib.rs
@@ -1,4 +1,5 @@
 mod blobreader;
+mod blobwriter;
 mod errors;
 
 pub mod blobservice;
@@ -9,6 +10,7 @@ pub mod pathinfoservice;
 pub mod proto;
 
 pub use blobreader::BlobReader;
+pub use blobwriter::BlobWriter;
 pub use errors::Error;
 
 #[cfg(test)]