Skip to main content

validate_extends_plugin

Function validate_extends_plugin 

Source
pub fn validate_extends_plugin(plugin_path: &Path) -> ValidationResult
Expand description

Validates the extends-plugin.json file within a plugin directory.

This file allows a plugin to declare dependencies on other plugins or system packages. Each section must be a JSON object mapping dependency names to version constraints (either a string or an object with a version field).

Returns an empty result if the file does not exist (it is optional).