mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-30 16:01:06 +08:00
refactor(unixfs) move proto to pb package
not internal since io needs it fix(fuse/ipns) use pb package fix(fuse) import protos from unixfs/pb package
This commit is contained in:
@ -3,7 +3,8 @@ package unixfs
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/goprotobuf/proto"
|
||||
proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/goprotobuf/proto"
|
||||
pb "github.com/jbenet/go-ipfs/unixfs/pb"
|
||||
)
|
||||
|
||||
func TestMultiBlock(t *testing.T) {
|
||||
@ -19,7 +20,7 @@ func TestMultiBlock(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
pbn := new(PBData)
|
||||
pbn := new(pb.PBData)
|
||||
err = proto.Unmarshal(b, pbn)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
Reference in New Issue
Block a user