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

Allow to rename when paths exist in copy/ cut operations #72

Merged
merged 2 commits into from
Nov 17, 2020
Merged

Allow to rename when paths exist in copy/ cut operations #72

merged 2 commits into from
Nov 17, 2020

Conversation

dinhhuy258
Copy link
Contributor

Hi,
Thank you for this wonderful project.
I usually face the problem when copy/cut items to a folder that already exists.
In this pull request, it just allows the user to rename folder/ files if the destination file/folder already exists.

@ms-jpq
Copy link
Owner

ms-jpq commented Oct 15, 2020

Thank you, I will add this in tomorrow. Just came from from a long break due to a bunch of things happening in personal life.

@ms-jpq
Copy link
Owner

ms-jpq commented Oct 18, 2020

going to finish doing #84, before I merge this one,

@dinhhuy258
Copy link
Contributor Author

going to finish doing #84, before I merge this one,

Thank you :D

@ms-jpq ms-jpq merged commit ae115f7 into ms-jpq:chad Nov 17, 2020
@ms-jpq
Copy link
Owner

ms-jpq commented Nov 17, 2020

sorry about the long wait, i had some stressful things going on in my life

if new_dest:
operations[source] = new_dest
else:
return None
Copy link

@schmijos schmijos Jun 8, 2022

Choose a reason for hiding this comment

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

@ms-jpq wouldn't it be nice to ask wether it's ok to replace the existing files instead?

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

3 participants