github.com/keltia/go-ipfs@v0.3.8-0.20150909044612-210793031c63/core/commands/mount_windows.go (about)

     1  package commands
     2  
     3  import (
     4  	"errors"
     5  
     6  	cmds "github.com/ipfs/go-ipfs/commands"
     7  	"github.com/ipfs/go-ipfs/core"
     8  )
     9  
    10  var MountCmd = &cmds.Command{
    11  	Helptext: cmds.HelpText{
    12  		Tagline:          "Not yet implemented on Windows",
    13  		ShortDescription: "Not yet implemented on Windows. :(",
    14  	},
    15  
    16  	Run: func(req cmds.Request, res cmds.Response) {
    17  		res.SetError(errors.New("Mount isn't compatible with Windows yet"), cmds.ErrNormal)
    18  	},
    19  }
    20  
    21  func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
    22  	// TODO
    23  	// currently a no-op, but we don't want to return an error
    24  	return nil
    25  }