`Operator::lister` is not exported for Node.js binding
According to bindings/nodejs/src/lib.rs it seems Operator::lister is not exposed by the Node.js binding.
Is there any particular reason of not doing that? Since Lister is already exported. Or is it something we will have in the future?
list_with and lister_with are not exported as well.
The original reason is related to https://github.com/apache/opendal/issues/1533. But I think it's fine to expose lister first.
The original reason is related to #1533. But I think it's fine to expose
listerfirst.
Awesome! Will like to see this!
BTW, is it similar to the reason why Entry::metadata is not exposed?
Though the documentation says:
Use stat if you:
- Want detect the outside changes of path.
- Don’t want to read from cached metadata.
You may want to use
metadataif you are working with entries returned byLister. It’s highly possible that metadata you want has already been cached.
Since Entry::metadata is not exposed, I guess there's currently no way to access cached metadata?
BTW, is it similar to the reason why
Entry::metadatais not exposed?
I suspect this feature doesn't exist because no one takes this task. Would you like to take a look?
Thank you for your interest in our nodejs binding! I will expose it later.
cc @fenprace, are you interested in implementing this?
cc @fenprace, are you interested in implementing this?
Well, I will check the codebase and give it a try. But I can't make any promises at the moment. I'm new to this and have never done anything serious with rust.
Well, I will check the codebase and give it a try.
Thank you!
But I can't make any promises at the moment.
That's how open source works. Thanks for you time anyway.
I'm new to this and have never done anything serious with rust.
Please let me know if you have met blocks.