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

ZipEntry cmdlets support for reading from Stream #40

Merged
merged 15 commits into from
Jan 10, 2025

Conversation

santisq
Copy link
Owner

@santisq santisq commented Jan 9, 2025

This PR enables Get-ZipEntry, Get-ZipEntryContent and Expand-ZipEntry cmdlets to list, read and extract from an input Stream.

@santisq santisq added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 9, 2025
@santisq santisq self-assigned this Jan 9, 2025
@santisq santisq linked an issue Jan 9, 2025 that may be closed by this pull request
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 93.01676% with 25 lines in your changes missing coverage. Please review.

Project coverage is 89.67%. Comparing base (15cf8e4) to head (a450b67).
Report is 16 commits behind head on main.

Files with missing lines Patch % Lines
...rc/PSCompression/Commands/ExpandZipEntryCommand.cs 69.23% 1 Missing and 3 partials ⚠️
src/PSCompression/Commands/GetZipEntryCommand.cs 94.20% 3 Missing and 1 partial ⚠️
src/PSCompression/Commands/NewZipEntryCommand.cs 80.95% 4 Missing ⚠️
...PSCompression/Commands/ExpandGzipArchiveCommand.cs 86.66% 2 Missing ⚠️
...rc/PSCompression/Commands/RemoveZipEntryCommand.cs 75.00% 1 Missing and 1 partial ⚠️
...rc/PSCompression/Commands/RenameZipEntryCommand.cs 77.77% 1 Missing and 1 partial ⚠️
src/PSCompression/ZipContentWriter.cs 86.66% 2 Missing ⚠️
src/PSCompression/CommandWithPathBase.cs 97.29% 1 Missing ⚠️
...Compression/Commands/CompressGzipArchiveCommand.cs 90.90% 0 Missing and 1 partial ⚠️
...SCompression/Commands/GetZipEntryContentCommand.cs 92.30% 0 Missing and 1 partial ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   87.95%   89.67%   +1.71%     
==========================================
  Files          36       37       +1     
  Lines        1569     1646      +77     
  Branches      207      210       +3     
==========================================
+ Hits         1380     1476      +96     
+ Misses        145      130      -15     
+ Partials       44       40       -4     
Flag Coverage Δ
PS_5.1 88.82% <93.01%> (+1.75%) ⬆️
PS_7_Linux 86.14% <93.01%> (+1.89%) ⬆️
PS_7_Windows 86.51% <93.01%> (+1.87%) ⬆️

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.

@santisq santisq force-pushed the 39-get-zipentry-add-support-to-read-from-uri branch from 8d4886a to e87416d Compare January 10, 2025 18:07
@santisq santisq merged commit 4e9ff15 into main Jan 10, 2025
7 checks passed
@santisq santisq deleted the 39-get-zipentry-add-support-to-read-from-uri branch January 10, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get-ZipEntry - Add support to read from URI
1 participant