提交 ab16237b 作者: Matt Bell

core/commands: Added no-op Mount implementation for Windows

上级 4bd2fbc8
......@@ -4,6 +4,7 @@ import (
"errors"
cmds "github.com/jbenet/go-ipfs/commands"
"github.com/jbenet/go-ipfs/core"
)
var mountCmd = &cmds.Command{
......@@ -16,3 +17,9 @@ var mountCmd = &cmds.Command{
return errors.New("Mount isn't compatible with Windows yet"), nil
},
}
func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
// TODO
// currently a no-op, but we don't want to return an error
return nil
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论