Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2021 Changes in this version + var ErrNotFound = errors.New("not found") + func DealIDToDsKey(dealID abi.DealID) datastore.Key + func DsKeyToDealID(key datastore.Key) (uint64, error) + type SealSerialization uint8 + const SerializationUnixfs0 + type SectorBlocks struct + func NewSectorBlocks(miner *storage.Miner, ds dtypes.MetadataDS) *SectorBlocks + func (st *SectorBlocks) AddPiece(ctx context.Context, size abi.UnpaddedPieceSize, r io.Reader, ...) (abi.SectorNumber, abi.PaddedPieceSize, error) + func (st *SectorBlocks) GetRefs(dealID abi.DealID) ([]api.SealedRef, error) + func (st *SectorBlocks) GetSize(dealID abi.DealID) (uint64, error) + func (st *SectorBlocks) Has(dealID abi.DealID) (bool, error) + func (st *SectorBlocks) List() (map[uint64][]api.SealedRef, error)