Skip to main content

download_urls

Function download_urls 

Source
pub fn download_urls(body: DownloadBody) -> Result<Vec<String>, TesseraError>
Expand description

Flatten a download body into presigned URLs, oldest object first.

A finalised month is a single object and yields one URL. The open month is day-backed: it yields one URL per day, ordered by the YYYY-MM-DD day they cover, so concatenating them in order stays chronological.

ยงErrors

Returns TesseraError::UnexpectedResponse when a day-backed partition carries no day objects.