Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#231: improve backup() method to delete junctions in win #233

Merged

Conversation

mvomiero
Copy link
Contributor

Fixes: #231 by adding a method isJunction() and deleting the file if it is a Junction in the backup() method.

@coveralls
Copy link
Collaborator

coveralls commented Feb 27, 2024

Pull Request Test Coverage Report for Build 8249652820

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 108 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.04%) to 58.864%

Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/io/FileAccessImpl.java 108 51.98%
Totals Coverage Status
Change from base Build 8249539038: -0.04%
Covered Lines: 4042
Relevant Lines: 6616

💛 - Coveralls

@mvomiero mvomiero marked this pull request as ready for review February 27, 2024 16:26
@tobka777 tobka777 assigned hohwille and unassigned VinceHeu Mar 1, 2024
Copy link
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

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

@mvomiero Thank you for your PR. Great that you found, analyzed and fixed the problem. 👍
While your PR is fixing the problem it introduces some code duplication. I added a comment for rework. But apart from that all is fine and then it can be merged.

@hohwille hohwille assigned mvomiero and unassigned hohwille Mar 1, 2024
@mvomiero mvomiero assigned hohwille and unassigned mvomiero Mar 4, 2024
Copy link
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

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

@mvomiero thanks for your update. You perfectly resolved the redundancies now. Great work 👍
Ready for merge.

@hohwille hohwille merged commit 5f1f28e into devonfw:main Mar 12, 2024
3 checks passed
@hohwille hohwille added this to the release:2024.03.001 milestone Mar 12, 2024
@hohwille hohwille added bugfix windows specific for Microsoft Windows OS link symlinks and windows junctions labels Mar 12, 2024
@mvomiero mvomiero deleted the bug/231-backup()MethodDeleteJunctionsWin branch March 22, 2024 12:30
@hohwille hohwille added the story-review marks PRs that will be presented in the sprint-review label May 3, 2024
@tobka777 tobka777 added reviewed Marks PRs that have been presented in the sprint-review meeting or that do not need to be presented. and removed story-review marks PRs that will be presented in the sprint-review labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix link symlinks and windows junctions reviewed Marks PRs that have been presented in the sprint-review meeting or that do not need to be presented. windows specific for Microsoft Windows OS
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

backup() method doesn't delete junctions in windows
5 participants