pub fn discover_source(
source: &str,
search_dir: &Path,
) -> Result<DiscoveryResult>Expand description
Discover components from a single source and register them into a component registry.
Returns a DiscoveryResult with the discovered components.