Raxol.Plugins.PluginDependency (Raxol v0.2.0)

View Source

Handles plugin dependency resolution and version compatibility checks.

Summary

Functions

Checks if a plugin's API version is compatible with the plugin manager.

Checks if a plugin's dependencies are satisfied by the currently loaded plugins.

Resolves plugin dependencies and returns a sorted list of plugins to load. The list is sorted so that dependencies are loaded before the plugins that depend on them.

Functions

check_api_compatibility(plugin_api_version, manager_api_version)

Checks if a plugin's API version is compatible with the plugin manager.

check_dependencies(plugin, loaded_plugins)

Checks if a plugin's dependencies are satisfied by the currently loaded plugins.

resolve_dependencies(plugins)

Resolves plugin dependencies and returns a sorted list of plugins to load. The list is sorted so that dependencies are loaded before the plugins that depend on them.