usnistgov / h5wasm

A WebAssembly HDF5 reader/writer library
Other
87 stars 12 forks source link

Add missing Emscripten type for `FS#mkdirTree` #62

Closed axelboc closed 1 year ago

axelboc commented 1 year ago

I discovered this undocumented method of Emscripten's File System API thanks to your work in h5wasm-plugins: https://github.com/h5wasm/h5wasm-plugins/blob/main/index.mjs#L19

The source in Emscripten's repo for reference: https://github.com/emscripten-core/emscripten/blob/1375c03ad476dba8f20c9c3919ef57f1af43e36b/src/library_fs.js#L669