disable mount command on windows for now

This commit is contained in:
verokarhu 2014-07-31 20:04:05 +03:00
parent 639d196a45
commit dcd0bac8e5
3 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// +build !windows
package main
import (

21
cmd/ipfs/mount_windows.go Normal file
View File

@ -0,0 +1,21 @@
package main
import (
"fmt"
"github.com/gonuts/flag"
"github.com/jbenet/commander"
)
var cmdIpfsMount = &commander.Command{
UsageLine: "mount",
Short: "Mount an ipfs read-only mountpoint.",
Long: `Not yet implemented on windows.`,
Run: mountCmd,
Flag: *flag.NewFlagSet("ipfs-mount", flag.ExitOnError),
}
func mountCmd(c *commander.Command, inp []string) error {
fmt.Printf("not implemented yet\n")
return nil
}

View File

@ -1,5 +1,7 @@
// A Go mirror of libfuse's hello.c
// +build !windows
package readonly
import (