Packmatic.Manifest.Entry (Packmatic v1.1.2) View Source

Represents a particular file that will go into package, which is sourced by reading from a file, downloading from an URI, etc.

The source in the Manifest Entry is a Source Entry (Packmatic.Source.entry/0), which will be dynamically resolved at runtime using Packmatic.Source.build/1 by the Encoder, when it is time to start reading from it.

Link to this section Summary

Link to this section Types

Specs

error() :: error_source() | error_path() | error_timestamp()

Specs

error_path() :: {:path, :missing}

Specs

error_source() :: {:source, :missing | :invalid}

Specs

error_timestamp() :: {:timestamp, :missing | :invalid}

Specs

path() :: Path.t()

Specs

proplist() :: [
  {:source, source()} | {:path, path()} | {:timestamp, timestamp()},
  ...
]

Specs

source() :: Packmatic.Source.entry()

Specs

t() :: %Packmatic.Manifest.Entry{
  path: path(),
  source: source(),
  timestamp: timestamp()
}

Specs

timestamp() :: DateTime.t()