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

Add convenience function to return the size of an encrypted segment #127

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

pontus
Copy link
Contributor

@pontus pontus commented Mar 6, 2024

Add straight-forward function, given a header/private key that can decrypt it, return the encrypted segment size used in the stream.

@codecov-commenter
Copy link

codecov-commenter commented Mar 6, 2024

Codecov Report

Attention: Patch coverage is 69.23077% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 71.21%. Comparing base (adf6e1f) to head (27d98b6).

Files Patch % Lines
model/headers/headers.go 69.23% 2 Missing and 2 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #127      +/-   ##
==========================================
+ Coverage   69.75%   71.21%   +1.45%     
==========================================
  Files           6        6              
  Lines         873      886      +13     
==========================================
+ Hits          609      631      +22     
+ Misses        141      135       -6     
+ Partials      123      120       -3     
Flag Coverage Δ
unittests 71.21% <69.23%> (+1.45%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@pontus pontus requested a review from a team March 7, 2024 08:03
@blankdots blankdots requested a review from a team March 8, 2024 05:34
@jbygdell jbygdell merged commit 414034e into master Mar 11, 2024
6 checks passed
@jbygdell jbygdell deleted the convenience_encryptedsegmentsize branch March 11, 2024 08:00
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.

4 participants