Closed lambertkuang closed 5 years ago
When it's ready to be reviewed, please squash your commit
It's ready for review, thanks!
Hey @alexguan, please review this when you get a chance
When to merge
Overall this is a good PR, however does it belong the core zookeeper client though? It's more like an util that should exist outside the client.
It would be nice to have in this library so people don't have to implement or require a separate util to have this functionality. I see that mkdirp
is also included in this library, which seems in line with these two methods.
Add methods
removeAll
andgetAllChildren
. Implementation is based off the javaZKUtil
class.Related issues: https://github.com/alexguan/node-zookeeper-client/issues/54, https://github.com/alexguan/node-zookeeper-client/issues/10