refactor(tvix/store): move blob splitting into a BlobWriter struct
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>
This commit is contained in:
parent
d8ab140d25
commit
0baaabc43e
4 changed files with 172 additions and 76 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue