Packmatic.Source.File (Packmatic v2.0.0)

View Source

Represents content on disk, for example from a static file. Also useful for content generated ahead of time.

Summary

Types

init_arg()

@type init_arg() :: String.t()

init_result()

@type init_result() :: {:ok, t()} | {:error, reason :: term()}

t()

@type t() :: %Packmatic.Source.File{device: File.io_device(), path: String.t()}