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

Access a WASIX instance's filesystem #334

Merged
merged 14 commits into from
Nov 24, 2023
Merged

Access a WASIX instance's filesystem #334

merged 14 commits into from
Nov 24, 2023

Conversation

Michael-F-Bryan
Copy link
Contributor

@Michael-F-Bryan Michael-F-Bryan commented Nov 9, 2023

This adds the ability to mount directories and access the filesystem of a running WASIX instance.

Instead of creating a single FileSystem class, I've set things up so you need to pass in a dictionary of mounted Directory objects. Most packages will include their own volumes, so allowing users to pass in a single FileSystem class which represents the WASIX instance's entire file system when spawning instances will make it really easy to shoot themselves in the foot by clobbering something important (see wasmerio/wasmer#4248).

Users are given the ability to create either an empty Directory (wrapper around TmpFileSystem) via its constructor or leverage the browser's File System API.

Copy link

github-actions bot commented Nov 23, 2023

⏱ Workflow Timer ⏱

Make sure you keep an eye on build times!

The goal is to keep CI times under 10 minutes so developers can maintain a fast edit-compile-test cycle.

Run Compile and Test
main 3mins 9s
b6726d9 9mins 29s

🤖 Beep. Boop. I'm a bot. If you find any issues, please report them to https://github.com/Michael-F-Bryan/workflow-timer.

Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, let's merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants