core/commands: Added no-op Mount implementation for Windows
Matt Bell committed
Nov 19, 2014 at 04:32 UTC
ab16237bc7d58b2b5c878fd7e873593a4bd581b9
1 file changed
+7
core/commands/mount_windows.go
+7
@@ -4,6 +4,7 @@ import (
4
"errors"
5
6
cmds "github.com/jbenet/go-ipfs/commands"
7
+ "github.com/jbenet/go-ipfs/core"
8
)
9
10
var mountCmd = &cmds.Command{
@@ -16,3 +17,9 @@ var mountCmd = &cmds.Command{
17
return errors.New("Mount isn't compatible with Windows yet"), nil
18
},
19
}
20
+
21
+func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
22
+ // TODO
23
+ // currently a no-op, but we don't want to return an error
24
+ return nil
25
+}