|
1
|
package iface |
|
2
|
|
|
3
|
import ( |
|
4
|
ipld "github.com/ipfs/go-ipld-format" |
|
5
|
) |
|
6
|
|
|
7
|
// APIDagService extends ipld.DAGService |
|
8
|
type APIDagService interface { |
|
9
|
ipld.DAGService |
|
10
|
|
|
11
|
// Pinning returns special NodeAdder which recursively pins added nodes |
|
12
|
Pinning() ipld.NodeAdder |
|
13
|
} |