Skip to main content

view_git_diff

Function view_git_diff 

Source
pub async fn view_git_diff(
    workspace: &Path,
    file_filter: Option<&str>,
) -> String
Expand description

Run git diff HEAD (or git diff HEAD -- <path>) in the workspace and return the output.