Packages

Pure Elixir library for reading and editing existing .xlsx / .xlsm files with round-trip fidelity — no Rust, no Python, no NIFs.

Current section

Files

Jump to
ex_v_ex lib ex_v_ex packaging zip entry.ex
Raw

lib/ex_v_ex/packaging/zip/entry.ex

defmodule ExVEx.Packaging.Zip.Entry do
@moduledoc """
A single member of an xlsx ZIP archive — a path inside the package and the
raw bytes at that path. Directory entries (zero-length, name ending in `/`)
are dropped by `:zip.unzip/2` and are not represented here.
"""
@enforce_keys [:path, :data]
defstruct [:path, :data]
@type t :: %__MODULE__{path: String.t(), data: binary()}
end