From 30f482ede694ffd8a6e0f9defb6b3ab6cd866cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 16 Aug 2017 22:29:27 +0200 Subject: [PATCH] dag: fix codeclimate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit License: MIT Signed-off-by: Ɓukasz Magiera --- core/commands/dag/dag.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/commands/dag/dag.go b/core/commands/dag/dag.go index e59440ea9..770917e07 100644 --- a/core/commands/dag/dag.go +++ b/core/commands/dag/dag.go @@ -33,10 +33,12 @@ to deprecate and replace the existing 'ipfs object' command moving forward. }, } +// OutputObject is the output type of 'dag put' command type OutputObject struct { Cid *cid.Cid } +// ResolveOutput is the output type of 'dag resolve' command type ResolveOutput struct { Cid *cid.Cid RemPath string @@ -191,6 +193,7 @@ var DagGetCmd = &cmds.Command{ }, } +// DagResolveCmd returns address of highest block within a path and a path remainder var DagResolveCmd = &cmds.Command{ Helptext: cmds.HelpText{ Tagline: "Resolve ipld block",