packageifaceimport("context""io"options"github.com/ipfs/go-ipfs/core/coreapi/interface/options"ipld"gx/ipfs/Qme5bWv7wtjUNGsK2BNGVUFPKiuxWrsqrtvYwCLRw8YFES/go-ipld-format")// DagAPI specifies the interface to IPLDtypeDagAPIinterface{// Put inserts data using specified format and input encoding.// Unless used with WithCodec or WithHash, the defaults "dag-cbor" and// "sha256" are used.Put(ctxcontext.Context,srcio.Reader,opts...options.DagPutOption)(Path,error)// Get attempts to resolve and get the node specified by the pathGet(ctxcontext.Context,pathPath)(ipld.Node,error)// Tree returns list of paths within a node specified by the path.Tree(ctxcontext.Context,pathPath,opts...options.DagTreeOption)([]Path,error)}