mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 21:07:45 +08:00
disable mount command on windows for now
This commit is contained in:
parent
639d196a45
commit
dcd0bac8e5
@ -1,3 +1,5 @@
|
||||
// +build !windows
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
||||
21
cmd/ipfs/mount_windows.go
Normal file
21
cmd/ipfs/mount_windows.go
Normal file
@ -0,0 +1,21 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"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 {
|
||||
fmt.Printf("not implemented yet\n")
|
||||
|
||||
return nil
|
||||
}
|
||||
@ -1,5 +1,7 @@
|
||||
// A Go mirror of libfuse's hello.c
|
||||
|
||||
// +build !windows
|
||||
|
||||
package readonly
|
||||
|
||||
import (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user