Skip to main content

parse_agent_file_with_format

Function parse_agent_file_with_format 

Source
pub fn parse_agent_file_with_format(
    content: &str,
    format: AgentFileFormat,
) -> Result<ParsedAgentFile>
Expand description

Like parse_agent_file but uses an explicitly supplied format instead of auto-detecting. Useful when the file extension is misleading or the user wants to override detection.