UAInspector v0.16.1 UAInspector.Downloader View Source

File download utility module.

Link to this section Summary

Functions

Performs download of all files

Performs download of configured database files and short code maps

Prepares the local database path for downloads

Reads a remote file and returns it’s contents

Link to this section Functions

Link to this function download() View Source
download() :: :ok

Performs download of all files.

Link to this function download(atom) View Source
download(:databases | :short_code_maps) :: :ok

Performs download of configured database files and short code maps.

Link to this function prepare_database_path() View Source
prepare_database_path() :: :ok

Prepares the local database path for downloads.

Link to this function read_remote(path) View Source
read_remote(String.t()) :: term()

Reads a remote file and returns it’s contents.