Module tectonic_bundles::itar
source · Expand description
The web-friendly “indexed tar” bundle backend.
The main type offered by this module is the IndexedTarBackend
struct,
which cannot be used directly as a tectonic_io_base::IoProvider
but is
the default backend for cached web-based bundle access through the
crate::cache::CachingBundle
framework.
While the on-server file format backing the “indexed tar” backend is indeed
a standard tar
file, as far as the client is concerned, this backend is
centered on HTTP byte-range requests. For each file contained in the backing
resource, the index file merely contains a byte offset and length that are
then used to construct an HTTP Range request to obtain the file as needed.
Structs
- The internal file-information struct used by the
IndexedTarBackend
. - A simple web-based file backend based on HTTP Range requests.