Skip to main content

discover_source_with_plugin

Function discover_source_with_plugin 

Source
pub fn discover_source_with_plugin(
    source: &str,
    search_dir: &Path,
    plugin: &dyn DiscoveryPlugin,
) -> Result<DiscoveryResult>
Expand description

Discover components from a source using the selected package layout.

ยงErrors

Returns an error when the source cannot be resolved or the plugin rejects its component layout.