Skip to content

Commit d1c7a1a

Browse files
authored
Merge pull request #26 from TRON-US/BTFS-1555
BTFS-1555
2 parents d01a090 + 62879dc commit d1c7a1a

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

file/reed_solomon_file.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ func (it *rsIterator) Next() bool {
169169
return it.err == nil
170170
}
171171

172+
func (it *rsIterator) AbsRootPath() (string, error) {
173+
return "", nil
174+
}
175+
172176
func GetRsNode(l interface{}) (uio.Node, error) {
173177
m, ok := l.(map[string]interface{})
174178
if !ok {

file/unixfile.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ func (it *ufsIterator) Err() error {
9797
return it.err
9898
}
9999

100+
func (it *ufsIterator) AbsRootPath() (string, error) {
101+
return "", nil
102+
}
103+
100104
func (d *ufsDirectory) Close() error {
101105
return nil
102106
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/TRON-US/go-unixfs
33
require (
44
github.com/Stebalien/go-bitfield v0.0.1
55
github.com/TRON-US/go-btfs-chunker v0.2.6
6-
github.com/TRON-US/go-btfs-files v0.1.1
6+
github.com/TRON-US/go-btfs-files v0.1.4
77
github.com/gogo/protobuf v1.2.1
88
github.com/gopherjs/gopherjs v0.0.0-20190430165422-3e4dfb77656c // indirect
99
github.com/ipfs/go-bitswap v0.1.2 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ github.com/TRON-US/go-btfs-chunker v0.2.6 h1:SPeUEMGSHNQyBSTU50nYBdaJA36CXPzQRtc
66
github.com/TRON-US/go-btfs-chunker v0.2.6/go.mod h1:Wj0oyybAWtu5lpcAc90QQ3bhJ14JRXD50PqxP25wmnI=
77
github.com/TRON-US/go-btfs-files v0.1.1 h1:GuDIiWDM66bfhfxJy8+dBL4Cfbcp3iBp7pgHpKKCw8k=
88
github.com/TRON-US/go-btfs-files v0.1.1/go.mod h1:tD2vOKLcLCDNMn9rrA27n2VbNpHdKewGzEguIFY+EJ0=
9+
github.com/TRON-US/go-btfs-files v0.1.4 h1:6/vqS7g6ttsOPCEyZEEkaba07hFviTLV6KjuPiZ45Ds=
10+
github.com/TRON-US/go-btfs-files v0.1.4/go.mod h1:I8LeoFulha712BW03zGgmDdNwa0qbAPwfMIglzw0fnE=
911
github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII=
1012
github.com/btcsuite/btcd v0.0.0-20190213025234-306aecffea32 h1:qkOC5Gd33k54tobS36cXdAzJbeHaduLtnLQQwNoIi78=
1113
github.com/btcsuite/btcd v0.0.0-20190213025234-306aecffea32/go.mod h1:DrZx5ec/dmnfpw9KyYoQyYo7d0KEvTkk/5M/vbZjAr8=

mod/dagmodifier_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ func testBalancedMetaDagAppend(t *testing.T, opts testu.NodeOpts, userDataSize i
10141014
if err != nil {
10151015
t.Fatal(err)
10161016
}
1017-
mdagmod := NewMetaDagModifierBalanced(dagmod, db)
1017+
mdagmod := NewMetaDagModifierBalanced(dagmod, db, true)
10181018

10191019
// Append metadata.
10201020
// Note combining two JSON byte arrays like below does not happen here in unit tests:

0 commit comments

Comments
 (0)