[WIP] add missing dag.tree()
Hi!
I was trying to solve #790 but I decided to stop here because I'm not sure if this is the right path and I decide to ask you what to do next.
Initially, I searched in the HTTP-API for an endpoint "/dag/tree", but I did not find it. I also ran the go daemon and made some tests but it seems that the endpoint is not there yet. According to the documentation the method dag.tree is only implemented in js-ipfs.
After that, I decided to write some code that is able to get the paths (no recursion yet) in order to get some exposure to the ipfs ecosystem and try to understand some of its components. I also added some tests for that.
Should I continue in this direction and add the logic for the recursive following of the links or the solution is finishing the HTTP-API?
Thank you! (:
Please have a look at the failures of the continuous integration. The code coverage decreased. It gives some indication on which test cases should be added.