This commit is contained in:
Łukasz Magiera 2020-07-08 23:05:54 +02:00
parent 802f16c542
commit 5a117d8edf
2 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ func (a *API) ClientImportLocal(ctx context.Context, f io.Reader) (cid.Cid, erro
Limit: 126,
},
Dagserv: bufferedDS,
NoCopy: true,
NoCopy: true,
}
db, err := params.New(chunker.NewSizeSplitter(file, int64(build.UnixfsChunkSize)))

View File

@ -18,7 +18,7 @@ type dsProvider interface {
DeleteDatastore(namespace string) error
}
type MultiStore struct {
type MultiStore struct {
provider dsProvider
namespace string