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

Remove copy and move methods. #50

Merged
merged 1 commit into from
May 30, 2019
Merged

Remove copy and move methods. #50

merged 1 commit into from
May 30, 2019

Conversation

mkruisselbrink
Copy link
Contributor

@mkruisselbrink mkruisselbrink commented May 14, 2019

These methods don't provide much value, since it is possible to get the
same behavior using the existing read and write APIs.

This fixes #52 and #53

These methods don't provide much value, since it is possible to get the
same behavior using the existing read and write APIs.
Copy link
Collaborator

@pwnall pwnall left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for the simplification!

@mkruisselbrink mkruisselbrink merged commit 633feed into master May 30, 2019
@mkruisselbrink mkruisselbrink deleted the no-copy-move branch April 17, 2020 00:02
@jimmywarting
Copy link

So simply renaming a file requires you to read the hole file and write it to the new destination (essentially copying the hole file) and then deleting the original file 😞

kind of wasteful operation and not so fast performant...

@jimmywarting
Copy link

Say you want to rename a 4gb movie and only have 2 gb free space... problematic.

@a-sully
Copy link
Collaborator

a-sully commented Jun 6, 2022

The PRs have unfortunately been in limbo for a while, but we hope to launch both move() and remove() relatively soon.

move() of file handles within the Origin Private File System is currently supported (though not yet specified)

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.

Remove FileSystemHandle.copyTo()
4 participants