Module tvix_castore::blobservice::object_store

source Β·

Structs§

  • Uses any object storage supported by the object_store crate to provide a tvix-castore BlobService.
  • Takes care of blob uploads. All writes are relayed to self.writer, and we continuously poll the future (which will internally read from the other side of the pipe and upload chunks). Our BlobWriter::close() needs to drop self.writer, so the other side will read EOF and can finalize the blob. The future should then resolve and return the blob digest.

Functions§