-
Notifications
You must be signed in to change notification settings - Fork 73
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
Proxy-fs #49
Comments
@cadorn It would be very similar to |
@cadorn Have you moved on this, or is it something you’re still looking for? |
Not yet. I have started some work on shadowing FS calls so you can get events for paths being used: https://github.com/pinf/pinf-for-nodejs/blob/9f31624eeb4aecbd819893c55872a602f2b00389/lib/vfs.js I'll be combining |
The well-tested HTTP[S] caching proxy is here: https://github.com/sourcemint/util-js/blob/master/lib/url-proxy-cache.js |
I want to be able to instanciate a proxy fs where the proxy loads and caches all lower level FS data as methods are called on the proxy object.
I want to then serialize the proxy data to a file and later instanciate a mock-fs object with it.
The idea is that I can pass a virtual FS object to a library, record all FS data needed while library executes and on second run feed the cached FS to the library instead of a real FS.
How would this fit into the
q-io
ecosystem?The text was updated successfully, but these errors were encountered: