Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable mount command on windows for now #21

Merged
merged 2 commits into from
Aug 1, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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")
}
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