(&self, source: &str)
| 971 | } |
| 972 | |
| 973 | pub fn validate_plugin_source(&self, source: &str) -> Result<PluginManifest, PluginError> { |
| 974 | let path = resolve_local_source(source)?; |
| 975 | load_plugin_from_directory(&path) |
| 976 | } |
| 977 | |
| 978 | pub fn install(&mut self, source: &str) -> Result<InstallOutcome, PluginError> { |
| 979 | let install_source = parse_install_source(source)?; |