Skip to content

Commit 1eddb60

Browse files
committed
filestore util: doc improvement
License: MIT Signed-off-by: Kevin Atkinson <[email protected]>
1 parent 620b52b commit 1eddb60

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

core/commands/filestore.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
cmds "github.com/ipfs/go-ipfs/commands"
88
"github.com/ipfs/go-ipfs/core"
99
"github.com/ipfs/go-ipfs/filestore"
10-
u "gx/ipfs/QmZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util"
1110
cid "gx/ipfs/QmV5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid"
11+
u "gx/ipfs/QmZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util"
1212
)
1313

1414
var FileStoreCmd = &cmds.Command{
@@ -160,7 +160,7 @@ For ERROR entries the error will also be printed to stderr.
160160

161161
var dupsFileStore = &cmds.Command{
162162
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.",
164164
},
165165
Run: func(req cmds.Request, res cmds.Response) {
166166
_, fs, err := getFilestore(req)
@@ -195,7 +195,6 @@ var dupsFileStore = &cmds.Command{
195195
Type: RefWrapper{},
196196
}
197197

198-
199198
func getFilestore(req cmds.Request) (*core.IpfsNode, *filestore.Filestore, error) {
200199
n, err := req.InvocContext().GetNode()
201200
if err != nil {
@@ -250,4 +249,3 @@ func perKeyActionToChan(args []string, action func(*cid.Cid) *filestore.ListRes,
250249
}()
251250
return out
252251
}
253-

0 commit comments

Comments
 (0)