Feat: Small Builder/Reader capability additions#99
Merged
redaranj merged 3 commits intoJul 1, 2026
Conversation
Additive Builder/Reader capabilities exposing previously-unwrapped FFI: - Builder.setBasePath (GP-259): resolve relative resource references against a dir. - Builder.supportedMimeTypes / Reader.supportedMimeTypes (GP-258): format introspection. - Builder.writeIngredientArchive / addIngredientFromArchive (GP-257): compose ingredients across builders via archive round-tripping. Wraps the corresponding c2pa_builder_*/c2pa_reader_* FFI through the JNI bridge, with shared + Android instrumented tests.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #99 +/- ##
============================================
- Coverage 71.79% 71.71% -0.08%
Complexity 38 38
============================================
Files 60 60
Lines 2255 2270 +15
Branches 260 266 +6
============================================
+ Hits 1619 1628 +9
- Misses 488 489 +1
- Partials 148 153 +5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
scouten-adobe
approved these changes
Jun 26, 2026
The 'Merge branch main' resolution dropped several lines, breaking the build: - Builder.kt: missing '/**' opener before formatEmbeddable's KDoc. - BuilderTests.kt: interleaved/dropped method bodies (testBuilderIngredientArchive tail, testBuilderArchiveErrorPaths body, spliced TestResult calls) — rebuilt the file as origin/main plus B's four added methods. - AndroidBuilderTests.kt: missing closing brace + @test between runTestBuilderArchiveErrorPaths and the next runner. All modules (release/debug/test-shared/androidTest/test-app) and the JNI C now compile.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes in this pull request
Adds three small Builder/Reader capabilities:
Types of changes
Checklist
TO DOitems (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment