blackholeDB icon indicating copy to clipboard operation
blackholeDB copied to clipboard

Error from go-ipfs-api

Open 0zAND1z opened this issue 5 years ago • 0 comments

COMMAND: $ go run basic.go

OUTPUT:

# github.com/ipfs/go-ipfs-api
../../github.com/ipfs/go-ipfs-api/add.go:49:27: not enough arguments in call to files.NewReaderFile
        have (io.Reader)
        want (string, string, io.ReadCloser, os.FileInfo)
../../github.com/ipfs/go-ipfs-api/add.go:50:9: undefined: files.NewSliceDirectory
../../github.com/ipfs/go-ipfs-api/add.go:50:35: undefined: files.DirEntry
../../github.com/ipfs/go-ipfs-api/add.go:74:27: not enough arguments in call to files.NewLinkFile
        have (string, nil)
        want (string, string, string, os.FileInfo)
../../github.com/ipfs/go-ipfs-api/add.go:75:9: undefined: files.NewSliceDirectory
../../github.com/ipfs/go-ipfs-api/add.go:75:35: undefined: files.DirEntry
../../github.com/ipfs/go-ipfs-api/add.go:89:32: not enough arguments in call to files.NewSerialFile
        have (string, bool, os.FileInfo)
        want (string, string, bool, os.FileInfo)
../../github.com/ipfs/go-ipfs-api/add.go:93:9: undefined: files.NewSliceDirectory
../../github.com/ipfs/go-ipfs-api/add.go:93:35: undefined: files.DirEntry
../../github.com/ipfs/go-ipfs-api/dag.go:40:27: not enough arguments in call to files.NewReaderFile
        have (io.Reader)
        want (string, string, io.ReadCloser, os.FileInfo)
../../github.com/ipfs/go-ipfs-api/dag.go:40:27: too many errors

0zAND1z avatar Sep 30 '19 11:09 0zAND1z