Skip to main content

doc_revisions

Function doc_revisions 

Source
pub fn doc_revisions(
    repo: &Repository,
    doc_rel_path: &str,
    limit: usize,
) -> Result<Vec<RevisionContent>, DiffError>
Expand description

All commits (newest-first, capped at limit) that touched doc_rel_path, each paired with the file content at that revision and at its first parent.