mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 01:12:24 +08:00
rm errTODO
This commit is contained in:
@ -1,7 +1,6 @@
|
|||||||
package core
|
package core
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
@ -92,8 +91,6 @@ type Mounts struct {
|
|||||||
Ipns mount.Mount
|
Ipns mount.Mount
|
||||||
}
|
}
|
||||||
|
|
||||||
var errTODO = errors.New("TODO")
|
|
||||||
|
|
||||||
type ConfigOption func(ctx context.Context) (*IpfsNode, error)
|
type ConfigOption func(ctx context.Context) (*IpfsNode, error)
|
||||||
|
|
||||||
func NewIPFSNode(ctx context.Context, option ConfigOption) (*IpfsNode, error) {
|
func NewIPFSNode(ctx context.Context, option ConfigOption) (*IpfsNode, error) {
|
||||||
|
Reference in New Issue
Block a user