mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 11:31:54 +08:00

This lets FUSE mounts to track whether they are active or not by tracking when fs.Serve terminates. License: MIT Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
19 lines
398 B
Go
19 lines
398 B
Go
package commands
|
|
|
|
import (
|
|
"errors"
|
|
|
|
cmds "github.com/ipfs/go-ipfs/commands"
|
|
)
|
|
|
|
var MountCmd = &cmds.Command{
|
|
Helptext: cmds.HelpText{
|
|
Tagline: "Not yet implemented on Windows.",
|
|
ShortDescription: "Not yet implemented on Windows. :(",
|
|
},
|
|
|
|
Run: func(req cmds.Request, res cmds.Response) {
|
|
res.SetError(errors.New("Mount isn't compatible with Windows yet"), cmds.ErrNormal)
|
|
},
|
|
}
|