diff options
author | Florian Klink <flokli@flokli.de> | 2023-03-10T13·21+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-03-10T15·45+0000 |
commit | 3506d3bd0ebbbcd907d3cd627d8dd828171fd6d1 (patch) | |
tree | dd326e72908f80cb02fa5f2e3d38028b594be1d6 /tvix/store/src/chunkservice/mod.rs | |
parent | 05b2f1ccb40f5cf4c020ebca481a97b8567f868e (diff) |
refactor(tvix/store): move upload_chunk out of blobwriter r/5948
This is useful not only in blobwriter contexts. Change-Id: I4c584b5264ff7b4bb3b1a9671affc39e18bf4ccf Reviewed-on: https://cl.tvl.fyi/c/depot/+/8245 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/store/src/chunkservice/mod.rs')
-rw-r--r-- | tvix/store/src/chunkservice/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/store/src/chunkservice/mod.rs b/tvix/store/src/chunkservice/mod.rs index 83c91fd96ea3..725ed2014e5b 100644 --- a/tvix/store/src/chunkservice/mod.rs +++ b/tvix/store/src/chunkservice/mod.rs @@ -1,3 +1,5 @@ +mod util; + pub mod memory; pub mod sled; @@ -5,6 +7,7 @@ use crate::Error; pub use self::memory::MemoryChunkService; pub use self::sled::SledChunkService; +pub use self::util::upload_chunk; /// The base trait all ChunkService services need to implement. /// It allows checking for the existence, download and upload of chunks. |