dag.go 257 Bytes
Newer Older
1 2 3
package iface

import (
Łukasz Magiera's avatar
Łukasz Magiera committed
4
	ipld "github.com/ipfs/go-ipld-format"
5 6 7 8 9 10 11 12 13
)

// APIDagService extends ipld.DAGService
type APIDagService interface {
	ipld.DAGService

	// Pinning returns special NodeAdder which recursively pins added nodes
	Pinning() ipld.NodeAdder
}