File tree 1 file changed +0
-18
lines changed 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,9 @@ package commands
2
2
3
3
import (
4
4
"errors"
5
- "io"
6
- "strings"
7
5
8
- oldcmds "github.com/ipfs/go-ipfs/commands"
9
6
lgc "github.com/ipfs/go-ipfs/commands/legacy"
10
7
dag "github.com/ipfs/go-ipfs/core/commands/dag"
11
- e "github.com/ipfs/go-ipfs/core/commands/e"
12
8
name "github.com/ipfs/go-ipfs/core/commands/name"
13
9
ocmd "github.com/ipfs/go-ipfs/core/commands/object"
14
10
unixfs "github.com/ipfs/go-ipfs/core/commands/unixfs"
@@ -214,17 +210,3 @@ func init() {
214
210
type MessageOutput struct {
215
211
Message string
216
212
}
217
-
218
- func MessageTextMarshaler (res oldcmds.Response ) (io.Reader , error ) {
219
- v , err := unwrapOutput (res .Output ())
220
- if err != nil {
221
- return nil , err
222
- }
223
-
224
- out , ok := v .(* MessageOutput )
225
- if ! ok {
226
- return nil , e .TypeErr (out , v )
227
- }
228
-
229
- return strings .NewReader (out .Message ), nil
230
- }
You can’t perform that action at this time.
0 commit comments