MCPcopy Create free account
hub / github.com/0xKarl-dev/claw-codes / validate_plugin_source

Method validate_plugin_source

rust/crates/plugins/src/lib.rs:973–976  ·  view source on GitHub ↗
(&self, source: &str)

Source from the content-addressed store, hash-verified

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)?;

Calls 2

resolve_local_sourceFunction · 0.85