Skip to main content

resolve_mention

Function resolve_mention 

Source
pub fn resolve_mention(
    storage_root: &Path,
    mention: &Mention,
) -> Option<AgentDefinition>
Expand description

Resolve a parsed mention against the roster.

Returns the matching AgentDefinition() if the slug exists and is enabled, or None if the slug is not in the roster or the agent is disabled.