1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-21 19:50:56 +08:00

coreapi: add tests for dag

License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
Łukasz Magiera
2017-12-11 17:22:21 +01:00
parent 82924fbedf
commit b40a6f88eb
5 changed files with 125 additions and 23 deletions

View File

@ -26,7 +26,7 @@ func (api *CoreAPI) Unixfs() coreiface.UnixfsAPI {
}
func (api *CoreAPI) Dag() coreiface.DagAPI {
return (*DagAPI)(api)
return (*dagAPI)(api)
}
func (api *CoreAPI) ResolveNode(ctx context.Context, p coreiface.Path) (coreiface.Node, error) {