Add Kind and Keys methods to Node.
And ReprKind moves from the typed package to the ipld main package.
It's hard to get too much done without the standardization of ReprKind.
Between the Kind() and Keys() methods, it should now be possible to
perform traversals of unknown nodes.
This diff just worries about implementing all the Kind() methods.
Keys() has some additional questions to handle (namely, map ordering?).
Signed-off-by: Eric Myhre <hash@exultant.us>
Showing
kind.go
0 → 100644
typed/node.go
0 → 100644
Please register or sign in to comment