Skip to content

fix: rename ErrSkipDesc to SkipNode#643

Merged
Wwwsylvia merged 4 commits into
oras-project:mainfrom
wangxiaoxuan273:rename-var
Nov 21, 2023
Merged

fix: rename ErrSkipDesc to SkipNode#643
Wwwsylvia merged 4 commits into
oras-project:mainfrom
wangxiaoxuan273:rename-var

Conversation

@wangxiaoxuan273
Copy link
Copy Markdown
Contributor

Resolves #634

Copy link
Copy Markdown
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread copy.go Outdated
@ktarplee
Copy link
Copy Markdown
Contributor

I also think we should add a sentence to the documentation for the PreCopy option that describes what happens when that function returns a SkipNode error.

Copy link
Copy Markdown
Member

@Wwwsylvia Wwwsylvia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to @ktarplee's comments

Comment thread copy.go Outdated
@wangxiaoxuan273
Copy link
Copy Markdown
Contributor Author

wangxiaoxuan273 commented Nov 20, 2023

I also think we should add a sentence to the documentation for the PreCopy option that describes what happens when that function returns a SkipNode error.

Added a doc comment in the PreCopy field.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 20, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (9febd7b) 75.19% compared to head (7363a2c) 75.20%.
Report is 1 commits behind head on main.

Files Patch % Lines
content/oci/oci.go 78.72% 8 Missing and 2 partials ⚠️
copy.go 50.00% 1 Missing ⚠️

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #643   +/-   ##
=======================================
  Coverage   75.19%   75.20%           
=======================================
  Files          59       59           
  Lines        5427     5473   +46     
=======================================
+ Hits         4081     4116   +35     
- Misses        992     1001    +9     
- Partials      354      356    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Comment thread copy.go Outdated
Comment thread copy.go Outdated
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Copy link
Copy Markdown
Member

@Wwwsylvia Wwwsylvia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Wwwsylvia Wwwsylvia merged commit 3776676 into oras-project:main Nov 21, 2023
@wangxiaoxuan273 wangxiaoxuan273 deleted the rename-var branch November 21, 2023 08:36
@Wwwsylvia Wwwsylvia mentioned this pull request Jan 26, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename ErrSkipDesc to SkipNode

5 participants