mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 09:52:20 +08:00
convert DAGService to an interface
This commit is contained in:
@ -15,7 +15,7 @@ var log = u.Logger("path")
|
||||
// Resolver provides path resolution to IPFS
|
||||
// It has a pointer to a DAGService, which is uses to resolve nodes.
|
||||
type Resolver struct {
|
||||
DAG *merkledag.DAGService
|
||||
DAG merkledag.DAGService
|
||||
}
|
||||
|
||||
// ResolvePath fetches the node for given path. It uses the first
|
||||
|
Reference in New Issue
Block a user