Skip to main content

is_declared_connector_module

Function is_declared_connector_module 

Source
pub fn is_declared_connector_module(harn_file: &Path) -> bool
Expand description

Whether the nearest harn.toml names harn_file under any [[providers]] connector = { harn = ... }.

Both sides are canonicalized so a relative manifest entry and an absolute walk path compare equal; a path that cannot be canonicalized (it may not exist yet) falls back to itself, which simply fails to match.