This commit is contained in:
Łukasz Magiera 2021-03-09 23:38:28 +01:00
parent b4eefd7220
commit d4a981f327
2 changed files with 1 additions and 3 deletions

View File

@ -114,8 +114,6 @@ func ReadBackup(r io.Reader, cb func(key datastore.Key, value []byte) error) err
return err
}
}
return nil
}
func RestoreInto(r io.Reader, dest datastore.Batching) error {

View File

@ -2,10 +2,10 @@ package modules
import (
"context"
"golang.org/x/xerrors"
"path/filepath"
"go.uber.org/fx"
"golang.org/x/xerrors"
"github.com/filecoin-project/lotus/chain/types"
"github.com/filecoin-project/lotus/lib/backupds"