diff --git a/file/reed_solomon_file.go b/file/reed_solomon_file.go index b3d158c47..bf0bdcd1b 100644 --- a/file/reed_solomon_file.go +++ b/file/reed_solomon_file.go @@ -219,6 +219,9 @@ func (it *rsIterator) Err() error { return it.err } +func (it *rsIterator) SetReedSolomon() { +} + type rsFile struct { uio.DagReader } diff --git a/file/unixfile.go b/file/unixfile.go index e651bbfa2..935cd41e6 100644 --- a/file/unixfile.go +++ b/file/unixfile.go @@ -101,6 +101,9 @@ func (it *ufsIterator) AbsRootPath() (string, error) { return "", nil } +func (it *ufsIterator) SetReedSolomon() { +} + func (d *ufsDirectory) Close() error { return nil } diff --git a/go.mod b/go.mod index d1edecb78..2673f2ed4 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/TRON-US/go-unixfs require ( github.com/Stebalien/go-bitfield v0.0.1 github.com/TRON-US/go-btfs-chunker v0.2.6 - github.com/TRON-US/go-btfs-files v0.1.4 + github.com/TRON-US/go-btfs-files v0.1.5 github.com/gogo/protobuf v1.2.1 github.com/gopherjs/gopherjs v0.0.0-20190430165422-3e4dfb77656c // indirect github.com/ipfs/go-bitswap v0.1.2 // indirect diff --git a/go.sum b/go.sum index f13d3033d..91fecadca 100644 --- a/go.sum +++ b/go.sum @@ -8,6 +8,8 @@ github.com/TRON-US/go-btfs-files v0.1.1 h1:GuDIiWDM66bfhfxJy8+dBL4Cfbcp3iBp7pgHp github.com/TRON-US/go-btfs-files v0.1.1/go.mod h1:tD2vOKLcLCDNMn9rrA27n2VbNpHdKewGzEguIFY+EJ0= github.com/TRON-US/go-btfs-files v0.1.4 h1:6/vqS7g6ttsOPCEyZEEkaba07hFviTLV6KjuPiZ45Ds= github.com/TRON-US/go-btfs-files v0.1.4/go.mod h1:I8LeoFulha712BW03zGgmDdNwa0qbAPwfMIglzw0fnE= +github.com/TRON-US/go-btfs-files v0.1.5 h1:MH+kqwVPG+EzMeQ+0XygPmaFrwXnN1j3rtgHUbvw9Uk= +github.com/TRON-US/go-btfs-files v0.1.5/go.mod h1:I8LeoFulha712BW03zGgmDdNwa0qbAPwfMIglzw0fnE= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= github.com/btcsuite/btcd v0.0.0-20190213025234-306aecffea32 h1:qkOC5Gd33k54tobS36cXdAzJbeHaduLtnLQQwNoIi78= github.com/btcsuite/btcd v0.0.0-20190213025234-306aecffea32/go.mod h1:DrZx5ec/dmnfpw9KyYoQyYo7d0KEvTkk/5M/vbZjAr8=