Skip to main content

fetch_full_diff

Function fetch_full_diff 

Source
pub async fn fetch_full_diff(dir: &str, base_branch: &str) -> Option<String>
Expand description

Fetch full diff content between base branch and HEAD (on-demand)

Runs git diff <base>...HEAD --stat --patch and truncates at 100KB. Returns None if the command fails or produces no output.