We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7397dd3 + 115bee5 commit 7276fd8Copy full SHA for 7276fd8
core/commands/cat.go
@@ -5,7 +5,6 @@ import (
5
6
cmds "github.com/ipfs/go-ipfs/commands"
7
core "github.com/ipfs/go-ipfs/core"
8
- "github.com/ipfs/go-ipfs/core/corerepo"
9
coreunix "github.com/ipfs/go-ipfs/core/coreunix"
10
11
context "gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
@@ -42,10 +41,13 @@ var CatCmd = &cmds.Command{
42
41
return
43
}
44
45
- if err := corerepo.ConditionalGC(req.Context(), node, length); err != nil {
46
- res.SetError(err, cmds.ErrNormal)
47
- return
48
- }
+ /*
+ if err := corerepo.ConditionalGC(req.Context(), node, length); err != nil {
+ res.SetError(err, cmds.ErrNormal)
+ return
+ }
49
+ */
50
+
51
res.SetLength(length)
52
53
reader := io.MultiReader(readers...)
0 commit comments