We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I thought the unionfs is trying to operate on underlay file systems in the same order as the use, but after tested it I found it's in reversed order.
use
It's better to be mentioned in the document.
const {Volume} = require('memfs'); const {ufs} = require('unionfs'); const vol1 = Volume.fromJSON({'/test': '1'}); const vol2 = Volume.fromJSON({'/test': '2'}); ufs .use(vol1) .use(vol2); console.log(ufs.readFileSync('/test', 'utf8')); // 2, NOT 1
The text was updated successfully, but these errors were encountered:
Thanks for filing this, @aleung, I had exactly the same question!
Sorry, something went wrong.
No branches or pull requests
I thought the unionfs is trying to operate on underlay file systems in the same order as the
use
, but after tested it I found it's in reversed order.It's better to be mentioned in the document.
The text was updated successfully, but these errors were encountered: