Module annotate

Source
Expand description

Methods that allow annotation (attribution and blame) for a file in a repository.

TODO: Add support for different blame layers with a trait in the future. Like commit metadata and more.

Structs§

FileAnnotation
Annotation results for a specific file

Functions§

get_annotation_for_file
Get line by line annotations for a specific file path in the repo.
get_annotation_with_file_content
Get line by line annotations for a specific file path starting with the given content.