mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 03:19:47 +08:00
26 lines
578 B
Go
26 lines
578 B
Go
package commands
|
|
|
|
import (
|
|
"errors"
|
|
|
|
cmds "github.com/jbenet/go-ipfs/commands"
|
|
"github.com/jbenet/go-ipfs/core"
|
|
)
|
|
|
|
var MountCmd = &cmds.Command{
|
|
Helptext: cmds.HelpText{
|
|
Tagline: "Not yet implemented on Windows",
|
|
ShortDescription: "Not yet implemented on Windows. :(",
|
|
},
|
|
|
|
Run: func(req cmds.Request, res cmds.Response) {
|
|
res.SetError(errors.New("Mount isn't compatible with Windows yet"), cmds.ErrNormal)
|
|
},
|
|
}
|
|
|
|
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
|
|
}
|