View Source ElixirMake.Downloader behaviour (elixir_make v0.8.4)

The behaviour for downloader modules.

Summary

Callbacks

This callback should download the artefact from the given URL.

Callbacks

@callback download(url :: String.t()) :: {:ok, iolist() | binary()} | {:error, String.t()}

This callback should download the artefact from the given URL.