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

Exit with an error when multiple sources have the same file name #10

Merged
merged 1 commit into from Jul 7, 2021

Conversation

Svetlitski
Copy link
Owner

Previously when presented with this scenario, fcp would attempt to copy
both sources to the same destination, with essentially undefined results
as multiple threads would concurrently write to the same file. Now we
check for duplicated file names before any copying is performed,
resolving this issue. Corresponding test-cases have been added.

Previously when presented with this scenario, fcp would attempt to copy
both sources to the same destination, with essentially undefined results
as multiple threads would concurrently write to the same file. Now we
check for duplicated file names before any copying is performed,
resolving this issue. Corresponding test-cases have been added.
@Svetlitski Svetlitski merged commit 329ad91 into master Jul 7, 2021
@Svetlitski Svetlitski deleted the duplicate-source-detection branch July 7, 2021 19:20
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.

None yet

1 participant