View Source Litestream.Downloader (Litestream v0.3.0)

This module is used to download the built Litestream binaries.

Link to this section Summary

Functions

This function will download the desired Litestream version and store it in the provided directory..

Get the latest version of Litestream (that is supported by the library).

Link to this section Functions

Link to this function

download_litestream(litestream_version, download_directory, bin_directory)

View Source

Specs

download_litestream(
  version :: String.t(),
  download_directory :: String.t(),
  bin_directory :: String.t()
) :: {:ok, String.t()} | {:error, String.t()}

This function will download the desired Litestream version and store it in the provided directory..

Specs

latest_version() :: String.t()

Get the latest version of Litestream (that is supported by the library).