//! File represents single item of a Pack, accessible under specific path.
use crateCacheControl;
use ;
/// [File] represents an original file from filesystem with all fields
/// precalculated. It contains `gzip` / `brotli` compressed content,
/// precalculated http headers, like `content-type`, `ETag` and `cache-control`.
///
/// [File] is created in packing phase (once) to allow fast loading in loader
/// without need to perform expensive computations (like calculating compressed
/// forms) in runtime.
// TODO: resolve with https://github.com/rkyv/rkyv/issues/561