https://github.com/whatwg/fs/pull/10
https://github.com/a-sully/fs/pull/2
Support efficient moves and renames of local files (i.e. user-visible files on the device) with the File System Access API.
Efficient file moves is a core API primitive that dramatically improves the viability of a number of applications on the web. For example, renaming a large video file currently requires obtaining access to a new file, copying all the data, and removing the original. This is slow, error-prone (ex: out of quota), and a poor developer and user experience.
file, system, access, move, rename, opfs
https://github.com/w3ctag/design-reviews/issues/805
Pending
Gecko: Negative to local file access more broadly, and therefore this addition (https://github.com/mozilla/standards-positions/issues/732)
WebKit: No signal on this addition (https://github.com/WebKit/standards-positions/issues/121) or local file access in general (https://github.com/WebKit/standards-positions/issues/28)
Web developers: Strongly positive (https://github.com/WICG/file-system-access/issues/64)
Other signals:
See the "Improve the ergonomics of the API" section of the explainer
See the "Security Considerations" section of the explainer
N/A
No, accessing local files with the File System Access API is not supported on Android
Yes
kFileSystemAccessMoveNonOpfsFiles
False
https://launch.corp.google.com/launch/4200956
M111
No anticipated inter-op issues with file moves. Directory moves are being punted for now while we resolve inter-op issues (see https://github.com/whatwg/fs/issues/59 for more context)
https://chromestatus.com/feature/6271579653144576
This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGnvaEXisJRYpRYJtRW%2BYiN_eL27opNRvjH6U3v0R6nHV8tEtA%40mail.gmail.com.
Hi Austin,I've been skimming through the history here but am left a little confused about how exactly this fits into the larger file system picture. When you shipped 'remove' I gather that was for both OPFS and local file use cases, is that right?
Why is this intent scoped to just local file use cases?
I know the other engines don't support local file system access, but their opinion (and TAG's opinion) on the API for OPFS cases seems relevant to how we reason about this intent. But as long as we're asking for signals specific to the local file system use case, I wouldn't expect that we'll get anything of value (as in the Mozilla standards position response). I see there's a chromestatus entry for move generally, what's the status of that?
Any reason why we can't focus on getting consensus for move() generally as supported broadly in OPFS, and then separately talk about details (if any) for local access?
LGTM1
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/f8774dd3-cb69-454b-a01d-92302d4d2ce5n%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw9-3bg-%3DvR6AWGGJJTkQGCKSX2zyG6bV%3DykjsmereRuBA%40mail.gmail.com.