Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: updated verifier constructor #508

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

Two-Hearts
Copy link
Contributor

This PR moves optional parameters of the verifier constructor into VerifierOptions.

Signed-off-by: Patrick Zheng <[email protected]>
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.87%. Comparing base (96b7133) to head (c4dc115).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #508      +/-   ##
==========================================
+ Coverage   80.44%   80.87%   +0.42%     
==========================================
  Files          35       35              
  Lines        3340     3351      +11     
==========================================
+ Hits         2687     2710      +23     
+ Misses        508      494      -14     
- Partials      145      147       +2     

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

Signed-off-by: Patrick Zheng <[email protected]>
@Two-Hearts Two-Hearts changed the title fix: updated verifier fix: updated verifier constructor Jan 22, 2025
verifier/verifier.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <[email protected]>
@Two-Hearts Two-Hearts requested a review from JeyJeyGao January 22, 2025 06:22
Copy link
Contributor

@JeyJeyGao JeyJeyGao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shizhMSFT shizhMSFT changed the title fix: updated verifier constructor refactor: updated verifier constructor Jan 22, 2025
@Two-Hearts Two-Hearts merged commit 6eb53a5 into notaryproject:main Jan 22, 2025
9 checks passed
@Two-Hearts Two-Hearts deleted the blobverify branch January 22, 2025 07:22
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