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

move_item, move_file, move_dir not instantaneous #20

Open
kamiyaa opened this issue Jan 4, 2019 · 3 comments
Open

move_item, move_file, move_dir not instantaneous #20

kamiyaa opened this issue Jan 4, 2019 · 3 comments

Comments

@kamiyaa
Copy link

kamiyaa commented Jan 4, 2019

A move should be instantaneous when files/folders are on the same filesystem.
But instead, a full copy/remove is done when doing move_*

Not sure if this is within the scope of this project, but I'll make an issue anyways

@kamiyaa kamiyaa changed the title move_item not instantaneous move_item, move_file, move_dir not instantaneous Jan 4, 2019
@webdesus
Copy link
Owner

webdesus commented Feb 6, 2019

Sorry for late response. Yes, i thinking about when i start to create this lib. But decided release first version on standard rust API. If you have an idea how it's can realize welcome to PR. Or someday i find time for release this feature 😉

@carueda
Copy link

carueda commented May 21, 2020

Maybe use https://doc.rust-lang.org/std/fs/fn.rename.html in these cases(?)

@webdesus
Copy link
Owner

@carueda I think it might be work. I will try to find the time to check it 😃

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

No branches or pull requests

3 participants