filer
filer copied to clipboard
Node-like file system for browsers
https://codecov.io/gh/filerjs/filer/src/master/src/filesystem/implementation.js#L954 is a branch we don't test. To hit it, I think we need: * add a test to `fs.link.spec.js` * create two files * try to `fs.link()` one to...
The promises API for `fs` includes a sort of object style `fd` called a [`FileHandle`](https://nodejs.org/api/fs.html#fs_class_filehandle), which exposes a bunch of async methods. We should add this.
Things like `writeFile` actually support `fd`s as well as `path`, `Buffer`, or `URL`. We don't currently support `fd`s in all cases, and should audit and fix that.
https://nodejs.org/api/fs.html#fs_fs_lchmod_path_mode_callback
Node uses a class, `fs.Dirent` to represent directory entries returned by `readdir`. We sort of do this now, with our `directory-entry` Objects. We should harmonize to match what node does....
We're trying to support a drop-in replacement for the node `fs` module, but it might be interesting to read the code for emscripten's IDBFS: * https://kripken.github.io/emscripten-site/docs/api_reference/Filesystem-API.html * https://github.com/kripken/emscripten/blob/incoming/src/library_fs.js There's probably...
There are some new storage/quota APIs that might be useful for us to make use of with Filer: * [`navigator.storage.persist()`](https://developers.google.com/web/updates/2016/06/persistent-storage) - to let the browser know we'd like to not...
Spin-off from https://github.com/filerjs/filer/issues/566#issuecomment-444218044, and building on #603, #604, #605: Once we have a way to load JSON filesystem images into our tests, we need a "typical workload" test that goes...
We use [minimatch]() in our implementation of `sh.find()` to match glob patterns. Let's see if we can switch to [picomatch](https://github.com/micromatch/picomatch), which is smaller, and has zero dependencies. minimatch is ~7K...
I've added some of my experimental code to a new branch called `next`. It's not based on the existing code, mostly because of some major structural changes to support `VFS`...