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

Improved file transfer operations #3030

Merged
merged 4 commits into from
Jan 15, 2021
Merged

Conversation

gave92
Copy link
Member

@gave92 gave92 commented Jan 14, 2021

Fixes #2955

Currently move operation is actually a Copy + Delete.
With this PR we'd use a Move operation when possible
Also it tries first with the **FromApp methods and falls back to StorageFolder/File on fail

@yaira2 yaira2 requested a review from tsvietOK January 14, 2021 19:02
@gave92 gave92 marked this pull request as ready for review January 14, 2021 22:02
@lukeblevins lukeblevins self-requested a review January 14, 2021 22:02
lukeblevins
lukeblevins previously approved these changes Jan 14, 2021
Copy link
Contributor

@lukeblevins lukeblevins left a comment

Choose a reason for hiding this comment

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

Code looks great

@yaira2
Copy link
Member

yaira2 commented Jan 14, 2021

@gave92 Are these CodeFactor issues new, or are they just from moving code around?

@yaira2 yaira2 changed the title Improve move file operation Improved move file operation Jan 15, 2021
@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label Jan 15, 2021
@yaira2 yaira2 changed the title Improved move file operation Improved file transfer operations Jan 15, 2021
@yaira2 yaira2 merged commit feb53d3 into files-community:master Jan 15, 2021
@yaira2 yaira2 mentioned this pull request Jan 15, 2021
@gave92 gave92 deleted the really_move branch January 15, 2021 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slow move operation
3 participants