-
Notifications
You must be signed in to change notification settings - Fork 201
refactor(perf): optimize cases with no child referrers in recursiveCopy #1729
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1729 +/- ##
==========================================
+ Coverage 84.92% 85.17% +0.24%
==========================================
Files 129 129
Lines 5751 5766 +15
==========================================
+ Hits 4884 4911 +27
+ Misses 617 609 -8
+ Partials 250 246 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
…sition Signed-off-by: Billy Zha <jinzha1@microsoft.com>
…2e (oras-project#1724) Signed-off-by: Billy Zha <jinzha1@microsoft.com>
…a6126986d9 to 2.6.0 (oras-project#1725) Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
…cenarios Signed-off-by: Billy Zha <jinzha1@microsoft.com>
…marshal failures Signed-off-by: Billy Zha <jinzha1@microsoft.com>
…ilures Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Terry Howe <terrylhowe@gmail.com> Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Terry Howe <terrylhowe@gmail.com> Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Terry Howe <terrylhowe@gmail.com> Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Terry Howe <terrylhowe@gmail.com> Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with suggestions
…e errors correctly Signed-off-by: Billy Zha <jinzha1@microsoft.com>
…py (oras-project#1729) Signed-off-by: Billy Zha <jinzha1@microsoft.com>
What this PR does / why we need it:
This PR improves the
recursiveCopy
function to handle cases where there are no child manifests or referrers, ensuring the function exits early in such scenarios. This change improves the function's efficiency and robustness.Please check the following list: