Skip to content

Add CopyOption and add option for deep copy (index of index)#610

Draft
jonesbusy wants to merge 1 commit intooras-project:mainfrom
jonesbusy:feature/copy-options
Draft

Add CopyOption and add option for deep copy (index of index)#610
jonesbusy wants to merge 1 commit intooras-project:mainfrom
jonesbusy:feature/copy-options

Conversation

@jonesbusy
Copy link
Collaborator

Description

Add CopyOption and add option for deep copy (index of index)

Testing done

Automated tests

Miss one test on Registry that create and Index with nested Index

Submitter checklist

  • I have read and understood the CONTRIBUTING guide
  • I have run mvn license:update-file-header, mvn spotless:apply, pre-commit run -a, mvn clean install before opening the PR

@jonesbusy jonesbusy added the enhancement New feature or request label Feb 28, 2026
@codecov
Copy link

codecov bot commented Feb 28, 2026

Codecov Report

❌ Patch coverage is 62.50000% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.45%. Comparing base (bd1e7c3) to head (5306e21).

Files with missing lines Patch % Lines
src/main/java/land/oras/OCI.java 41.66% 10 Missing and 4 partials ⚠️
src/main/java/land/oras/CopyUtils.java 93.33% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (62.50%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #610      +/-   ##
============================================
+ Coverage     87.25%   87.45%   +0.19%     
  Complexity      843      843              
============================================
  Files            42       42              
  Lines          2542     2566      +24     
  Branches        314      317       +3     
============================================
+ Hits           2218     2244      +26     
+ Misses          202      195       -7     
- Partials        122      127       +5     

☔ 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.

@jonesbusy jonesbusy force-pushed the feature/copy-options branch from 5306e21 to 0bad5b6 Compare March 1, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant