Packages

Load a single beam file, an app (a set of beams), or an erlang release (a set of apps) to a node.

Current section

Files

Jump to
ex_loader lib adapter.ex
Raw

lib/adapter.ex

defmodule ExLoader.Adapter do
@moduledoc false
@doc """
Verify if the given file is valid and accessible
"""
@callback valid?(String.t()) :: boolean
@doc """
get the content of the file
"""
@callback get_content(String.t()) :: {:ok, binary} | {:error, term}
end