Skip to content

Commit

Permalink
Merge pull request #21 from verokarhu/master
Browse files Browse the repository at this point in the history
disable mount command on windows for now
  • Loading branch information
jbenet committed Aug 1, 2014
2 parents 639d196 + fef46e4 commit 41a725c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/ipfs/mount.go → cmd/ipfs/mount_unix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build linux darwin freebsd

package main

import (
Expand Down
19 changes: 19 additions & 0 deletions cmd/ipfs/mount_windows.go
Original file line number Diff line number Diff line change
@@ -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")
}
2 changes: 2 additions & 0 deletions fuse/readonly/readonly.go → fuse/readonly/readonly_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// A Go mirror of libfuse's hello.c

// +build linux darwin freebsd

package readonly

import (
Expand Down

0 comments on commit 41a725c

Please sign in to comment.