@cryptotaxi247 / kubo / commits / 1eddb60f7

filestore util: doc improvement

License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>

Kevin Atkinson committed Mar 22, 2017 at 20:56 UTC 1eddb60f73a072e23800e5eafae57f47e1190068
1 file changed +2 -4
core/commands/filestore.go
+2 -4
@@ -7,8 +7,8 @@ import (
7 cmds "github.com/ipfs/go-ipfs/commands"
8 "github.com/ipfs/go-ipfs/core"
9 "github.com/ipfs/go-ipfs/filestore"
10 - u "gx/ipfs/QmZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util"
10 cid "gx/ipfs/QmV5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid"
11 + u "gx/ipfs/QmZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util"
12 )
13
14 var FileStoreCmd = &cmds.Command{
@@ -160,7 +160,7 @@ For ERROR entries the error will also be printed to stderr.
160
161 var dupsFileStore = &cmds.Command{
162 Helptext: cmds.HelpText{
163 - Tagline: "Print block both in filestore and non-filestore.",
163 + Tagline: "List blocks that are both in the filestore and standard block storage.",
164 },
165 Run: func(req cmds.Request, res cmds.Response) {
166 _, fs, err := getFilestore(req)
@@ -195,7 +195,6 @@ var dupsFileStore = &cmds.Command{
195 Type: RefWrapper{},
196 }
197
198 -
198 func getFilestore(req cmds.Request) (*core.IpfsNode, *filestore.Filestore, error) {
199 n, err := req.InvocContext().GetNode()
200 if err != nil {
@@ -250,4 +249,3 @@ func perKeyActionToChan(args []string, action func(*cid.Cid) *filestore.ListRes,
249 }()
250 return out
251 }
253 -