From 1eddb60f73a072e23800e5eafae57f47e1190068 Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Wed, 22 Mar 2017 20:56:35 -0400 Subject: [PATCH] filestore util: doc improvement License: MIT Signed-off-by: Kevin Atkinson --- core/commands/filestore.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/commands/filestore.go b/core/commands/filestore.go index 529ec4f0c..9ce103b50 100644 --- a/core/commands/filestore.go +++ b/core/commands/filestore.go @@ -7,8 +7,8 @@ import ( cmds "github.com/ipfs/go-ipfs/commands" "github.com/ipfs/go-ipfs/core" "github.com/ipfs/go-ipfs/filestore" - u "gx/ipfs/QmZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util" cid "gx/ipfs/QmV5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid" + u "gx/ipfs/QmZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util" ) var FileStoreCmd = &cmds.Command{ @@ -160,7 +160,7 @@ For ERROR entries the error will also be printed to stderr. var dupsFileStore = &cmds.Command{ Helptext: cmds.HelpText{ - Tagline: "Print block both in filestore and non-filestore.", + Tagline: "List blocks that are both in the filestore and standard block storage.", }, Run: func(req cmds.Request, res cmds.Response) { _, fs, err := getFilestore(req) @@ -195,7 +195,6 @@ var dupsFileStore = &cmds.Command{ Type: RefWrapper{}, } - func getFilestore(req cmds.Request) (*core.IpfsNode, *filestore.Filestore, error) { n, err := req.InvocContext().GetNode() if err != nil { @@ -250,4 +249,3 @@ func perKeyActionToChan(args []string, action func(*cid.Cid) *filestore.ListRes, }() return out } -