kubo/core/commands/mount_windows.go
Jeromy 971bb01e1b fix builds on windows
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-11-24 10:37:02 -08:00

21 lines
483 B
Go

package commands
import (
"errors"
cmds "github.com/ipfs/go-ipfs/commands"
cmdkit "gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit"
)
var MountCmd = &cmds.Command{
Helptext: cmdkit.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"), cmdkit.ErrNormal)
},
}