mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 20:37:53 +08:00
mount command on windows returns an error instead of nil and adjusted unix-only code
This commit is contained in:
parent
dcd0bac8e5
commit
fef46e44f8
@ -1,4 +1,4 @@
|
||||
// +build !windows
|
||||
// +build linux darwin freebsd
|
||||
|
||||
package main
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"errors"
|
||||
"github.com/gonuts/flag"
|
||||
"github.com/jbenet/commander"
|
||||
)
|
||||
@ -15,7 +15,5 @@ var cmdIpfsMount = &commander.Command{
|
||||
}
|
||||
|
||||
func mountCmd(c *commander.Command, inp []string) error {
|
||||
fmt.Printf("not implemented yet\n")
|
||||
|
||||
return nil
|
||||
return errors.New("mount not yet implemented on windows")
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// A Go mirror of libfuse's hello.c
|
||||
|
||||
// +build !windows
|
||||
// +build linux darwin freebsd
|
||||
|
||||
package readonly
|
||||
|
||||
Loading…
Reference in New Issue
Block a user