oras-project / oras

OCI registry client - managing content like artifacts, images, packages
https://oras.land
Apache License 2.0
1.33k stars 160 forks source link

refactor: Clean up pull handlers #1407

Closed TerryHowe closed 2 weeks ago

TerryHowe commented 2 weeks ago

What this PR does / why we need it:

Just some clean up in the pull handlers.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.01%. Comparing base (187131d) to head (861e262).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1407 +/- ## ========================================== - Coverage 85.01% 85.01% -0.01% ========================================== Files 107 107 Lines 3804 3790 -14 ========================================== - Hits 3234 3222 -12 + Misses 341 339 -2 Partials 229 229 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

qweeah commented 2 weeks ago

Need to refactor status handlers in to text and tty package to improve the readability of the code. Can do it in another PR.