mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-03 15:27:57 +08:00
core/commands: Added no-op Mount implementation for Windows
This commit is contained in:
parent
4bd2fbc806
commit
ab16237bc7
@ -4,6 +4,7 @@ import (
|
||||
"errors"
|
||||
|
||||
cmds "github.com/jbenet/go-ipfs/commands"
|
||||
"github.com/jbenet/go-ipfs/core"
|
||||
)
|
||||
|
||||
var mountCmd = &cmds.Command{
|
||||
@ -16,3 +17,9 @@ var mountCmd = &cmds.Command{
|
||||
return errors.New("Mount isn't compatible with Windows yet"), nil
|
||||
},
|
||||
}
|
||||
|
||||
func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
|
||||
// TODO
|
||||
// currently a no-op, but we don't want to return an error
|
||||
return nil
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user