about summary refs log tree commit diff
path: root/net
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-01-09T13·00+0200
committerclbot <clbot@tvl.fyi>2024-01-09T17·31+0000
commit719cbad871b5c67ca2f52a6cda342e788497549f (patch)
tree95542dd2f409b5b40db7974a343945c99b73186c /net
parent9596c5caff78cfdd702f0267ff44b8b68f2a8a65 (diff)
feat(tvix/castore/blobsvc): add chunks method r/7365
This adds support to retrieve a list of chunks for a given blob to the
BlobService interface.

While theoretically all chunk-awareness could be kept private inside
each BlobService reader, we'd not be able to resolve individual chunks
from different Blobservices - and due to this, not able to substitute
chunks we already have in a more local store.

This function allows asking a BlobService for the list of chunks,
leaving any actual fetching up to the caller (be it through individual
calls to open_read), or asking another store for it.

Change-Id: I1d33c591195ed494be3aec71a8c804743cbe0dca
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10586
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions