Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SectionReader ¶
func SectionReader( ctx context.Context, wareID api.WareID, reader io.Reader, monitor rio.Monitor, ) (*io.SectionReader, io.Closer, error)
SectionReader buffers a ware to a locally seekable instance. Some forms of transmat (zip) need to know the length and seek through packed data. This buffer bridges the gap between that need at the `io.ReadCloser` supported by `warehouse.BlobstoreController`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.