Skip to main content

fetch_pr_diff

Function fetch_pr_diff 

Source
pub fn fetch_pr_diff(pr: u64) -> Result<String>
Expand description

Fetch the diff for pr via gh pr diff <pr>. Returns the stdout text on success, otherwise an error that includes stderr — never a silent empty string.