lotus/storage/sealmgr/stores/interface.go

13 lines
355 B
Go
Raw Normal View History

package stores
import (
2020-03-13 00:23:05 +00:00
"context"
"github.com/filecoin-project/go-sectorbuilder"
2020-03-13 00:23:05 +00:00
"github.com/filecoin-project/specs-actors/actors/abi"
)
type Store interface {
2020-03-13 00:23:05 +00:00
AcquireSector(ctx context.Context, s abi.SectorID, existing sectorbuilder.SectorFileType, allocate sectorbuilder.SectorFileType, sealing bool) (sectorbuilder.SectorPaths, func(), error)
}