Skip to main content

commit_patch

Function commit_patch 

Source
pub async fn commit_patch(
    git_dir: &Path,
    sha: &str,
) -> Result<String, ForgeError>
Expand description

The unified-diff patch text for a single commit (git show). Rendered inside an esc()’d <pre> — never as markup.