Skip to content

Commit

Permalink
Merge pull request #27 from TRON-US/BTFS-1582-2
Browse files Browse the repository at this point in the history
Btfs 1582 2
  • Loading branch information
taiyangc authored Feb 14, 2020
2 parents d1c7a1a + f3afe90 commit 7f9d04c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions file/reed_solomon_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ func (it *rsIterator) Err() error {
return it.err
}

func (it *rsIterator) SetReedSolomon() {
}

type rsFile struct {
uio.DagReader
}
Expand Down
3 changes: 3 additions & 0 deletions file/unixfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ func (it *ufsIterator) AbsRootPath() (string, error) {
return "", nil
}

func (it *ufsIterator) SetReedSolomon() {
}

func (d *ufsDirectory) Close() error {
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 7f9d04c

Please sign in to comment.