andrewosh / mountable-hypertrie

A Hypertrie wrapper that supports mounting of other Hypertries
MIT License
26 stars 9 forks source link

Hidden nodes are always returned #9

Open fsteff opened 3 years ago

fsteff commented 3 years ago

I'm not quite sure if that is a bug or a feature, but I could really use it to work as expected.

I'm currently trying to implement hidden files in hyperdrive (see hyperdrive #301). I stumbled upon the problem that mountable-hypertrie also returns entries that are marked as hidden, even if opts.hidden is false.

This could probably be solved by adding a check here. The alternative would be adding a check in hyperdrive, but that would not be a clean solution.