Versions in this module Expand all Collapse all v1 v1.0.1 Jun 17, 2021 v1.0.0 Mar 26, 2021 Changes in this version + var ErrNotPinned = fmt.Errorf("not pinned") + type PinMode int + const Direct + const NotPinned + const Recursive + type Pinner interface + DirectKeys func() []util.Key + Flush func() error + InternalPins func() []util.Key + IsPinned func(util.Key) (string, bool, error) + IsPinnedWithType func(util.Key, string) (string, bool, error) + Pin func(context.Context, *mdag.Node, bool) error + PinWithMode func(util.Key, PinMode) + RecursiveKeys func() []util.Key + RemovePinWithMode func(util.Key, PinMode) + Unpin func(context.Context, util.Key, bool) error + func LoadPinner(d ds.Datastore, dserv mdag.DAGService) (Pinner, error) + func NewPinner(dstore ds.Datastore, serv mdag.DAGService) Pinner