mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 17:03:58 +08:00
Merge pull request #21 from verokarhu/master
disable mount command on windows for now
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
|
// +build linux darwin freebsd
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
19
cmd/ipfs/mount_windows.go
Normal file
19
cmd/ipfs/mount_windows.go
Normal 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")
|
||||||
|
}
|
@ -1,5 +1,7 @@
|
|||||||
// A Go mirror of libfuse's hello.c
|
// A Go mirror of libfuse's hello.c
|
||||||
|
|
||||||
|
// +build linux darwin freebsd
|
||||||
|
|
||||||
package readonly
|
package readonly
|
||||||
|
|
||||||
import (
|
import (
|
Reference in New Issue
Block a user