Aura.PackageTarUtil (Aura v0.9.1)

View Source

A utility to read a release tar from a Hex-compliant API

Summary

Types

A mapping between entries of a tar and their bytes

Functions

Reads a release tar from a given file path

Types

tar_contents()

@type tar_contents() :: %{entries: map()}

A mapping between entries of a tar and their bytes

Functions

read_release_tar(tar_path)

@spec read_release_tar(tar_path :: String.t()) ::
  {:ok, tar_contents()} | {:error, term()}

Reads a release tar from a given file path