Skip to content

Phoenix virtual file system(VFS) #19

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

Closed
2 tasks done
abose opened this issue Aug 15, 2021 · 1 comment
Closed
2 tasks done

Phoenix virtual file system(VFS) #19

abose opened this issue Aug 15, 2021 · 1 comment

Comments

@abose
Copy link
Member

abose commented Aug 15, 2021

In browser virtual file system

Phoenix will have a virtual in browser fs API compatible with nodeJS FS APIs. Currently, this is implemented with filer lib with indexedDB as the data storage backend. We will be adding support for the latest native file system access API in filer via #3 which will add local file access to phoenix leveraging the latest browser tech(Some limitations present, fs watch not supported in the browser yet). This issue tracks all tasks related to VFS creation in phoenix.

@abose
Copy link
Member Author

abose commented Aug 16, 2021

Nodejs compatible fs and path modules are now available in the following places:

  • Virtual file system shell APIs are available in Phoenix.VFS
  • fs lib APIs are available via window.fs and Phoenix.VFS.fs
  • path lib is available in Phoenix.VFS.path

@abose abose closed this as completed Aug 16, 2021
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