1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 16:07:42 +08:00

Merge pull request #21 from verokarhu/master

disable mount command on windows for now
This commit is contained in:
Juan Batiz-Benet
2014-08-01 02:33:49 -07:00
3 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// +build linux darwin freebsd
package main
import (

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

@ -0,0 +1,19 @@
package main
import (
"errors"
"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 {
return errors.New("mount not yet implemented on windows")
}

View File

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