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

FileSystem options/integration documentation #18899

Open
VariantXYZ opened this issue Mar 4, 2023 · 0 comments
Open

FileSystem options/integration documentation #18899

VariantXYZ opened this issue Mar 4, 2023 · 0 comments

Comments

@VariantXYZ
Copy link

VariantXYZ commented Mar 4, 2023

Related to: isomorphic-git/lightning-fs#117

I'm currently trying to see about using isomorphic-git with lightning-fs and then use an emscripten-built assembler to output a file and then eventually call a linker.

However, I'm having trouble figuring out how exactly to go about interfacing lightning-fs's asynchronous nature with Emscripten's synchronous one.

I believe I can bridge the two by copying data from lightning-fs in memory to Emscripten's FS and going back and forth, but there has to be a better way... I'd like to ask for some guidance and possibly updated documentation with integrating an external asynchronous FS with Emscripten's, as I think it may not be that uncommon a use-case.

I also can't seem to find much documentation how to use WasmFS, though I've read it's partially implemented and may be sufficient even for this use-case.

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