I'm actually not sure, been a while since anyone worked on that code. I
remember the focus back then was just to see how useful sync reading (using
FileReaderSync, which is worker-only) is. Maybe the best thing is to just
try and see, the size of library_workerfs.js is fairly small so should be
easy to get into. FWIW my guess is adding new files/blobs could be possible.

On Mon, Sep 12, 2016 at 9:50 AM, 'Andras Kucsma' via emscripten-discuss <
emscripten-discuss@googlegroups.com> wrote:

> Hi,
>
> I have a couple of questions about the WORKERFS implementation:
>
>    1. Is it possible to add new files to the WORKERFS after mounting?
>    (The documentation
>    
> <https://kripken.github.io/emscripten-site/docs/api_reference/Filesystem-API.html#id2>
>    suggests that only mount time, static file lists are supported, but it's
>    not explicitly stated)
>    Maybe I can call WORKERFS.createNode directly?
>
>    2. Lot of FS functions are not implemented in WORKERFS
>    
> <https://github.com/kripken/emscripten/blob/c1e7ac6a5f4f38668a13b037747417e3ccbebf56/src/library_workerfs.js#L96-L119>
>    .
>    I'm particularly interested in is removing files (unlink). Is there
>    any fundamental difficulty with doing that, or just simply no one got
>    around to implement it yet?
>
> Thanks,
> András
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to