From aeedabc452f3e4c22560cea16820696fc92b04bc Mon Sep 17 00:00:00 2001 From: Overbool Date: Sat, 27 Oct 2018 10:08:42 +0800 Subject: [PATCH] commands/object: add comment License: MIT Signed-off-by: Overbool --- core/commands/object/object.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/commands/object/object.go b/core/commands/object/object.go index 441589998c2a..46edafd65f2f 100644 --- a/core/commands/object/object.go +++ b/core/commands/object/object.go @@ -56,6 +56,7 @@ directly.`, }, } +// ObjectDataCmd object data command var ObjectDataCmd = &cmds.Command{ Helptext: cmdkit.HelpText{ Tagline: "Output the raw bytes of an IPFS object.", @@ -95,6 +96,7 @@ is the raw data of the object. }, } +// ObjectLinksCmd object links command var ObjectLinksCmd = &cmds.Command{ Helptext: cmdkit.HelpText{ Tagline: "Output the links pointed to by the specified object.", @@ -166,6 +168,7 @@ multihash. Type: &Object{}, } +// ObjectGetCmd object get command var ObjectGetCmd = &cmds.Command{ Helptext: cmdkit.HelpText{ Tagline: "Get and serialize the DAG node named by .", @@ -271,6 +274,7 @@ Supported values are: }, } +// ObjectStatCmd object stat command var ObjectStatCmd = &cmds.Command{ Helptext: cmdkit.HelpText{ Tagline: "Get stats for the DAG node named by .", @@ -333,6 +337,7 @@ var ObjectStatCmd = &cmds.Command{ }, } +// ObjectPutCmd object put command var ObjectPutCmd = &cmds.Command{ Helptext: cmdkit.HelpText{ Tagline: "Store input as a DAG object, print its key.", @@ -433,6 +438,7 @@ And then run: Type: Object{}, } +// ObjectNewCmd object new command var ObjectNewCmd = &cmds.Command{ Helptext: cmdkit.HelpText{ Tagline: "Create a new object from an ipfs template.",