Skip to content

Add annotation supporting methods to GitArchiver#223

Open
devdanzin wants to merge 4 commits intotonybaloney:masterfrom
devdanzin:gitarchiver_annotate
Open

Add annotation supporting methods to GitArchiver#223
devdanzin wants to merge 4 commits intotonybaloney:masterfrom
devdanzin:gitarchiver_annotate

Conversation

@devdanzin
Copy link
Copy Markdown
Collaborator

This PR adds GitArchiver.is_data_outdated() (which checks whether a file in the working directory and on a given revision have diverged) and GitArchiver..get_file_contents() (which allows fetching the contents of a file in a given revision) to support source annotation. Also adds simple tests.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Sep 28, 2023

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.89%. Comparing base (2590691) to head (3ed5f54).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #223      +/-   ##
==========================================
+ Coverage   95.86%   95.89%   +0.02%     
==========================================
  Files          25       25              
  Lines        1403     1413      +10     
  Branches      296      296              
==========================================
+ Hits         1345     1355      +10     
  Misses         33       33              
  Partials       25       25              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants