Skip to main content

parse_with_ssh_resolver

Function parse_with_ssh_resolver 

Source
pub fn parse_with_ssh_resolver<'a>(
    content: &'a str,
    ctx: &SshResolverContext<'_>,
) -> Result<(Frontmatter, &'a str)>
Expand description

Parse frontmatter using a pre-resolved SSH-defaults context.

Pure: no &Path, no std::fs. The file-based parse_for_file wrapper in agent_doc::frontmatter_io resolves the context and delegates here.