View Source MishkaInstaller.DepUpdateJob (Mishka Installer v0.0.4-beta.4)
This module provides assistance to your software so that it may check all of the plugins and libraries that you have installed to see whether a newer version of those extensions has been made available.
Link to this section Summary
Functions
Check and find new updates of extensions if new releases exist. This function just returns :ok
atom and saves update news into ETS.
Start ETS table to store new updates of installed extensions.
Get new release information of an extension.
Get new releases information of extensions.
This function provides a channel to get new updates of extension releases; your project can subscribe and use this information.
Link to this section Functions
@spec check_added_dependencies_update() :: :ok
Check and find new updates of extensions if new releases exist. This function just returns :ok
atom and saves update news into ETS.
examples
Examples
MishkaInstaller.DepUpdateJob.check_added_dependencies_update()
Start ETS table to store new updates of installed extensions.
examples
Examples
MishkaInstaller.DepUpdateJob.ets()
Get new release information of an extension.
examples
Examples
MishkaInstaller.DepUpdateJob.get("test_app")
@spec get_all() :: [tuple()]
Get new releases information of extensions.
examples
Examples
MishkaInstaller.DepUpdateJob.get_all()
@spec subscribe() :: :ok | {:error, {:already_registered, pid()}}
This function provides a channel to get new updates of extension releases; your project can subscribe and use this information.
examples
Examples
MishkaInstaller.DepUpdateJob.subscribe()