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

This commit is contained in:
Matt Bell 2014-11-19 04:32:48 -08:00
parent 4bd2fbc806
commit ab16237bc7

View File

@ -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
}