mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-27 05:17:49 +08:00
dag: fix codeclimate
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
parent
5da8368a42
commit
30f482ede6
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user