Skip to content

new feature FileUtils.linkFile(source, destination) #82

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Aug 15, 2020

Conversation

mkarg
Copy link
Collaborator

@mkarg mkarg commented Jul 28, 2020

New method FileUtils.linkFile does the same as FileUtils.copyFile, but instead of actually moving the file content, it just produces a symbolic link.

Unit tests are exactly the same as for FileUtils.copyFile but in addition check that the result is really a symlink.

@mkarg mkarg marked this pull request as ready for review July 28, 2020 22:07
@mkarg
Copy link
Collaborator Author

mkarg commented Jul 28, 2020

@rfscholte @hboutemy Would be glad if you kindly could consider reviewing this PR. :-)

@olamy olamy changed the title FileUtils.linkFile(source, destination) new feature FileUtils.linkFile(source, destination) Aug 15, 2020
@olamy olamy merged commit d0b6121 into codehaus-plexus:master Aug 15, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants