github.com/keltia/go-ipfs@v0.3.8-0.20150909044612-210793031c63/core/commands/mount_nofuse.go (about) 1 // +build linux darwin freebsd 2 // +build nofuse 3 4 package commands 5 6 import ( 7 "errors" 8 9 cmds "github.com/ipfs/go-ipfs/commands" 10 "github.com/ipfs/go-ipfs/core" 11 ) 12 13 var MountCmd = &cmds.Command{ 14 Helptext: cmds.HelpText{ 15 Tagline: "Mounts IPFS to the filesystem (disabled)", 16 ShortDescription: ` 17 This version of ipfs is compiled without fuse support, which is required 18 for mounting. If you'd like to be able to mount, please use a version of 19 ipfs compiled with fuse. 20 21 For the latest instructions, please check the project's repository: 22 http://github.com/ipfs/go-ipfs 23 `, 24 }, 25 } 26 27 func Mount(node *core.IpfsNode, fsdir, nsdir string) error { 28 return errors.New("not compiled in") 29 }