oras-project / oras-go

ORAS Go library
https://oras.land
Apache License 2.0
172 stars 94 forks source link

feat: dangling node detection for graph.Memory #652

Closed wangxiaoxuan273 closed 9 months ago

wangxiaoxuan273 commented 9 months ago

Part of #472

This PR:

  1. Adds doc for fields of graph.Memory
  2. Makes graph.Memory.Remove() return dangling successors

This draft PR is followed by #653, which implements recursive GC on oci.Store.

codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (79a08b4) 75.23% compared to head (38fd16c) 75.32%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #652 +/- ## ========================================== + Coverage 75.23% 75.32% +0.08% ========================================== Files 59 59 Lines 5480 5487 +7 ========================================== + Hits 4123 4133 +10 + Misses 1001 999 -2 + Partials 356 355 -1 ```

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

wangxiaoxuan273 commented 9 months ago

close this PR as its content is contained in #653