Skip to main content

expand_references

Function expand_references 

Source
pub async fn expand_references(message: &str, cwd: &Path) -> ExpansionResult
Expand description

Expand all @-prefix references in message against cwd. URL fetches honor the same SSRF guard web_fetch uses.

If message contains no references, returns the original text unchanged.