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

feat: add an identifier before the extension to prevent file conflicts rather than after #316

Merged
merged 3 commits into from
Oct 27, 2023

Conversation

rick-yao
Copy link
Contributor

…ile and there is file with same name in folder

…ile and there is file with same name in folder
@rick-yao rick-yao changed the title feat: update file name without changing file extension when pasting f… feat: update file name when pasting file and there is file with same name in folder Oct 24, 2023
yazi-shared/src/fns.rs Outdated Show resolved Hide resolved
yazi-shared/src/fns.rs Outdated Show resolved Hide resolved
@sxyazi
Copy link
Owner

sxyazi commented Oct 25, 2023

Thank you for the PR, I made some reviews for that.

@rick-yao
Copy link
Contributor Author

@sxyazi I made a new commit using file_stem() and extension() , please kindly review it.

@sxyazi sxyazi changed the title feat: update file name when pasting file and there is file with same name in folder feat: add an identifier before the extension to prevent file conflicts rather than after Oct 27, 2023
@sxyazi sxyazi merged commit aceec54 into sxyazi:main Oct 27, 2023
3 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants