@@ -13,6 +13,8 @@ import (
1313)
1414
1515// ObjectStat provides information about dag nodes
16+ //
17+ // Deprecated: use github.com/ipfs/boxo/coreiface.ObjectStat
1618type ObjectStat struct {
1719 // Cid is the CID of the node
1820 Cid cid.Cid
@@ -34,20 +36,30 @@ type ObjectStat struct {
3436}
3537
3638// ChangeType denotes type of change in ObjectChange
39+ //
40+ // Deprecated: use github.com/ipfs/boxo/coreiface.ChangeType
3741type ChangeType int
3842
3943const (
4044 // DiffAdd is set when a link was added to the graph
45+ //
46+ // Deprecated: use github.com/ipfs/boxo/coreiface.DiffAdd
4147 DiffAdd ChangeType = iota
4248
4349 // DiffRemove is set when a link was removed from the graph
50+ //
51+ // Deprecated: use github.com/ipfs/boxo/coreiface.DiffRemove
4452 DiffRemove
4553
4654 // DiffMod is set when a link was changed in the graph
55+ //
56+ // Deprecated: use github.com/ipfs/boxo/coreiface.DiffMod
4757 DiffMod
4858)
4959
5060// ObjectChange represents a change ia a graph
61+ //
62+ // Deprecated: use github.com/ipfs/boxo/coreiface.ObjectChange
5163type ObjectChange struct {
5264 // Type of the change, either:
5365 // * DiffAdd - Added a link
@@ -69,6 +81,8 @@ type ObjectChange struct {
6981
7082// ObjectAPI specifies the interface to MerkleDAG and contains useful utilities
7183// for manipulating MerkleDAG data structures.
84+ //
85+ // Deprecated: use github.com/ipfs/boxo/coreiface.ObjectAPI
7286type ObjectAPI interface {
7387 // New creates new, empty (by default) dag-node.
7488 New (context.Context , ... options.ObjectNewOption ) (ipld.Node , error )
0 commit comments