about summary refs log tree commit diff
path: root/LICENSE
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-03-02T16·00+0200
committerflokli <flokli@flokli.de>2024-03-03T11·22+0000
commit7bebf492ec7742b8a24c695d77fa64fdf654ab19 (patch)
tree059b9651dd54ae0eb8e57f9db5d7e82baf199de3 /LICENSE
parent1608f935aad2696f38231ef779bffc1f5ac31fec (diff)
refactor(tvix/castore/blobsvc/chunked_reader): refactor, document r/7631
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>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions