tvl-depot/tvix/castore/src/blobservice
Florian Klink 7bebf492ec refactor(tvix/castore/blobsvc/chunked_reader): refactor, document
The public-consumable thing here is ChunkedReader, not ChunkedBlob.

ChunkedBlob is a helper that can be used to get a new AsyncRead, but
not AsyncSeek. It is used internally by ChunkedReader whenever the
client seeks.

Make this more obvious, by extending the documentation, and putting
ChunkedReader at the top of this file.

Also make ChunkedBlob and its methods private, and give ChunkedReader a
more useful constructor (from_chunks, instead of from_chunked_blob).

Change-Id: I2399867591df923faa73927b924e7c116ad98dc0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11079
Tested-by: BuildkiteCI
Reviewed-by: Brian Olsen <me@griff.name>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
2024-03-03 11:22:56 +00:00
..
chunked_reader.rs refactor(tvix/castore/blobsvc/chunked_reader): refactor, document 2024-03-03 11:22:56 +00:00
combinator.rs refactor(tvix/castore/blobsvc/combinator): compact trait bounds 2024-02-02 08:55:16 +00:00
from_addr.rs refactor(tvix/castore/blobsvc): return Box, not Arc 2023-12-31 22:18:14 +00:00
grpc.rs feat(tvix/castore/blobsvc): validate StatBlobResponse 2024-02-02 16:26:38 +00:00
memory.rs refactor(tvix/castore/blobservice): use io::Result in trait 2023-12-12 18:06:40 +00:00
mod.rs feat(tvix/castore/blobsvc): BlobReader for more trivial types 2024-03-02 17:05:23 +00:00
naive_seeker.rs refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00
simplefs.rs feat(tvix/castore): simple filesystem blob service 2023-12-17 14:34:13 +00:00
sled.rs refactor(tvix/castore/blobservice): use io::Result in trait 2023-12-12 18:06:40 +00:00
tests.rs refactor(tvix/castore): address clippy 2023-12-09 12:58:39 +00:00