oras-project / distribution

distribution with reference types
Apache License 2.0
1 stars 5 forks source link

refactor: rename "manifest/ocischema/manifest.go" to "image_manifest.go" #28

Closed wangxiaoxuan273 closed 2 years ago

wangxiaoxuan273 commented 2 years ago

To implement artifact_manifest.go later, the file manifest/ocischema/manifest.go and the structs and functions in it are renamed to reflect the fact that they only handle oci image manifests.

Part 2 of Issue #21

Signed-off-by: wangxiaoxuan273 wangxiaoxuan119@gmail.com

codecov-commenter commented 2 years ago

Codecov Report

Merging #28 (bec211a) into main (f71877f) will not change coverage. The diff coverage is 77.41%.

@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage   57.18%   57.18%           
=======================================
  Files         105      105           
  Lines       10842    10842           
=======================================
  Hits         6200     6200           
  Misses       3954     3954           
  Partials      688      688           
Impacted Files Coverage Δ
registry/handlers/manifests.go 54.17% <0.00%> (ø)
manifest/ocischema/builder.go 66.03% <66.66%> (ø)
manifest/ocischema/image_manifest.go 74.19% <80.00%> (ø)
registry/storage/manifeststore.go 76.74% <100.00%> (ø)
registry/storage/ocimanifesthandler.go 67.04% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.