disable mount command on windows for now
verokarhu committed
Jul 31, 2014 at 20:04 UTC
dcd0bac8e5594044bac5afdc0276d3bb13b5c69b
3 files changed
+25
cmd/ipfs/mount.go
+2
@@ -1,3 +1,5 @@
1
+// +build !windows
2
+
3
package main
4
5
import (
cmd/ipfs/mount_windows.go
new
+21
@@ -0,0 +1,21 @@
1
+package main
2
+
3
+import (
4
+ "fmt"
5
+ "github.com/gonuts/flag"
6
+ "github.com/jbenet/commander"
7
+)
8
+
9
+var cmdIpfsMount = &commander.Command{
10
+ UsageLine: "mount",
11
+ Short: "Mount an ipfs read-only mountpoint.",
12
+ Long: `Not yet implemented on windows.`,
13
+ Run: mountCmd,
14
+ Flag: *flag.NewFlagSet("ipfs-mount", flag.ExitOnError),
15
+}
16
+
17
+func mountCmd(c *commander.Command, inp []string) error {
18
+ fmt.Printf("not implemented yet\n")
19
+
20
+ return nil
21
+}
fuse/readonly/readonly.go
+2
@@ -1,5 +1,7 @@
1
// A Go mirror of libfuse's hello.c
2
3
+// +build !windows
4
+
5
package readonly
6
7
import (