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

Add fast path for move using URI file repository #5517

Open
2 tasks done
Jacalz opened this issue Feb 8, 2025 · 0 comments
Open
2 tasks done

Add fast path for move using URI file repository #5517

Jacalz opened this issue Feb 8, 2025 · 0 comments
Labels
optimization Tickets that could help Fyne apps run faster Storage changes relating to Storage Repositories and URIs

Comments

@Jacalz
Copy link
Member

Jacalz commented Feb 8, 2025

Checklist

  • I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
  • This issue only relates to a single feature. I will open new issues for any other features.

Is your feature request related to a problem?

Per discussion in #5506 (comment), we can likely use os.Rename also for files to move files a lot faster than using the generic URI repository move operation.

Is it possible to construct a solution with the existing API?

Yes

Describe the solution you'd like to see.

Use os.Rename to move files.

@Jacalz Jacalz added optimization Tickets that could help Fyne apps run faster Storage changes relating to Storage Repositories and URIs labels Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization Tickets that could help Fyne apps run faster Storage changes relating to Storage Repositories and URIs
Projects
None yet
Development

No branches or pull requests

1 participant