dag: fix codeclimate
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
Łukasz Magiera committed
Aug 16, 2017 at 22:29 UTC
30f482ede694ffd8a6e0f9defb6b3ab6cd866cdf
1 file changed
+3
core/commands/dag/dag.go
+3
@@ -33,10 +33,12 @@ to deprecate and replace the existing 'ipfs object' command moving forward.
33
},
34
}
35
36
+// OutputObject is the output type of 'dag put' command
37
type OutputObject struct {
38
Cid *cid.Cid
39
}
40
41
+// ResolveOutput is the output type of 'dag resolve' command
42
type ResolveOutput struct {
43
Cid *cid.Cid
44
RemPath string
@@ -191,6 +193,7 @@ var DagGetCmd = &cmds.Command{
193
},
194
}
195
196
+// DagResolveCmd returns address of highest block within a path and a path remainder
197
var DagResolveCmd = &cmds.Command{
198
Helptext: cmds.HelpText{
199
Tagline: "Resolve ipld block",