Skip to content

Remove FileSystemHandle.copyTo() #52

@pwnall

Description

@pwnall

FileSystemHandle.copyTo() can be implemented on top of getFile() / getDirectory() / createWriter() / write(), so it is not a new capability. A general-purpose implementation is non-trivial when considering recursively copying directories, attempting to restore the previous state on failures, and edge cases like symlinks and special files.

I think this method does not carry its weight in terms of capabilities added vs implementation effort required from browser developers, and I propose that we remove it for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions