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

Implement SyncFs based on chrome file api #3

Open
rklaehn opened this issue Mar 22, 2022 · 1 comment
Open

Implement SyncFs based on chrome file api #3

rklaehn opened this issue Mar 22, 2022 · 1 comment

Comments

@rklaehn
Copy link
Contributor

rklaehn commented Mar 22, 2022

This should be pretty straightforward. Just use the origin private file system. See here: https://web.dev/file-system-access/#accessing-the-origin-private-file-system

The downside of course is that this does not exist on all browsers. But we have the WebCacheFs as a fallback.

https://web.dev/file-system-access/#accessing-the-origin-private-file-system

@rklaehn
Copy link
Contributor Author

rklaehn commented Mar 25, 2022

Started working on this in https://github.com/cloudpeers/radixdb/tree/web-file

But there is lots of unstable stuff, so I can see why I came up with the cache hack.

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

No branches or pull requests

1 participant