View Source MishkaInstaller.Installer.DepChangesProtector (Mishka Installer v0.0.3)

This module helps you to protect the extension.json file and every action like add or delete or even edit a dependency is happened, it can handle it and create new state.

Link to this section Summary

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec clean() :: :ok
Link to this function

deps(app, type \\ :port)

View Source
@spec deps(String.t(), atom()) :: :ok
@spec get() :: map()
@spec get(String.t()) :: map()
Link to this function

is_dependency_compiling?()

View Source
@spec is_dependency_compiling?() :: boolean()
@spec notify_subscribers({atom(), any(), String.t() | atom()}) ::
  :ok | {:error, any()}
@spec pop(String.t()) :: map()
@spec push(map(), String.t() | atom()) :: map()
@spec start_link(list()) :: :ignore | {:error, any()} | {:ok, pid()}
@spec subscribe() :: :ok | {:error, {:already_registered, pid()}}
Link to this function

update_dependency_type(answer, state, dependency_type \\ "none")

View Source