# `Storehouse.Archive.Entry`
[🔗](https://github.com/hattoriai/storehouse/blob/v0.2.0/lib/storehouse/archive/format.ex#L1)

A file of an archive, as a format (`Storehouse.Archive.Format`) is given
it:

  * `:name` - its path in the archive, checked safe.
  * `:size` - its size in bytes, or `nil` when it is not known before it
    is read (a stream, a function's).
  * `:content_type` - the store's, else its name's.
  * `:compress` - whether to compress it (`Storehouse.Archive`'s
    `:compression`).
  * `:data` - a function of nothing that gives its bytes, an enumerable
    of iodata, read as it is taken.

# `t`

```elixir
@type t() :: %Storehouse.Archive.Entry{
  compress: boolean(),
  content_type: String.t(),
  data: (-&gt; Enumerable.t()),
  name: String.t(),
  size: non_neg_integer() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
