UAInspector v0.19.0 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()
View Source
download() :: :ok
download() :: :ok
Performs download of all files.
Link to this function
download(atom)
View Source
download(atom)
View Source
download(:databases | :short_code_maps) :: :ok
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()
View Source
prepare_database_path() :: :ok
prepare_database_path() :: :ok
Prepares the local database path for downloads.
Link to this function
read_remote(path) View Source
Reads a remote file and returns it's contents.