jj_lib::annotate

Function get_annotation_for_file

Source
pub fn get_annotation_for_file(
    repo: &dyn Repo,
    starting_commit: &Commit,
    file_path: &RepoPath,
) -> Result<FileAnnotation, RevsetEvaluationError>
Expand description

Get line by line annotations for a specific file path in the repo. If the file is not found, returns empty results.