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

Support local file system in browser-only mode #13275

Open
msujew opened this issue Jan 16, 2024 · 1 comment
Open

Support local file system in browser-only mode #13275

msujew opened this issue Jan 16, 2024 · 1 comment
Labels
browser-only issues specific to the browser-only use-case filesystem issues related to the filesystem

Comments

@msujew
Copy link
Member

msujew commented Jan 16, 2024

Feature Description:

The File System JS API allows developers to interact with the file system of the user via their browser. vscode.dev is able to pick a user directory and open that directly in the browser. We should probably implement something similar in addition to the existing BrowserFS implemented in #12853.

@msujew msujew added browser-only issues specific to the browser-only use-case filesystem issues related to the filesystem labels Jan 16, 2024
@james-pre
Copy link

Just FYI BrowserFS is deprecated. #13520 discussed moving to ZenFS, an active fork. Ultimately the team decided to just remove the dependency all together by using a direct OPFS approach.

The code uses the same API (The File System Access API), so it's just a matter of change which handle is used as the root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-only issues specific to the browser-only use-case filesystem issues related to the filesystem
Projects
None yet
Development

No branches or pull requests

2 participants