Raxol.Plugins.PluginDependency (Raxol v0.5.0)

View Source

Provides utilities for plugin dependency and API compatibility checks.

Summary

Functions

Checks if the plugin's API version is compatible with the manager's API version. Returns :ok if compatible, {:error, :api_incompatible} otherwise. Compatibility is defined as matching major version (e.g., 1.x.x == 1.y.z).

Functions

check_api_compatibility(plugin_api_version, manager_api_version)

Checks if the plugin's API version is compatible with the manager's API version. Returns :ok if compatible, {:error, :api_incompatible} otherwise. Compatibility is defined as matching major version (e.g., 1.x.x == 1.y.z).