-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from verokarhu/master
disable mount command on windows for now
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// +build linux darwin freebsd | ||
|
||
package main | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ( | ||
|