Skip to content

fix: dir package optimize#104

Merged
shizhMSFT merged 1 commit intonotaryproject:mainfrom
JeyJeyGao:fix/dir_pkg
Aug 16, 2022
Merged

fix: dir package optimize#104
shizhMSFT merged 1 commit intonotaryproject:mainfrom
JeyJeyGao:fix/dir_pkg

Conversation

@JeyJeyGao
Copy link
Contributor

@JeyJeyGao JeyJeyGao commented Aug 10, 2022

  1. GetPath logic: if the given path doesn't exist, return the first
    possible path in the union directories, so when create a new file the
    UnionDirFS will select user directory which was provided as the first
    directory when create the UnionDirFS
  2. change the constant name

Signed-off-by: Junjie Gao junjiegao@microsoft.com

@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2022

Codecov Report

Merging #104 (51a69ee) into main (f3bae83) will decrease coverage by 0.19%.
The diff coverage is 64.28%.

@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   72.14%   71.95%   -0.20%     
==========================================
  Files          36       36              
  Lines        2265     2271       +6     
==========================================
  Hits         1634     1634              
- Misses        506      511       +5     
- Partials      125      126       +1     
Impacted Files Coverage Δ
dir/fs.go 77.77% <44.44%> (-7.08%) ⬇️
dir/path.go 95.83% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
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

@dtzar dtzar requested a review from a team August 10, 2022 15:03
@dtzar dtzar added this to the alpha-3 milestone Aug 10, 2022
@dtzar dtzar added the bug Something isn't working label Aug 10, 2022
1. GetPath logic: if the given path doesn't exist, return the first
   possible in the union directories, so when create a new file the
   UnionDirFS will select user directory which was provided as the first
   directory when create the UnionDirFS
2. change the constant name

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
@dtzar
Copy link
Contributor

dtzar commented Aug 15, 2022

@rgnote - it seems your feedback has been addressed. Can you please take a look again and approve if all is good?

Copy link
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

@shizhMSFT shizhMSFT merged commit c350ef7 into notaryproject:main Aug 16, 2022
@JeyJeyGao JeyJeyGao deleted the fix/dir_pkg branch November 10, 2022 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants

Comments