| 1 | // Stub for non-FUSE builds: the complement of mount_unix.go's |
| 2 | // (linux || darwin || freebsd) && !nofuse, excluding windows |
| 3 | // which has its own stub in mount_windows.go. |
| 4 | //go:build !windows && (nofuse || !(linux || darwin || freebsd)) |
| 5 | |
| 6 | package commands |
| 7 | |
| 8 | import ( |
| 9 | cmds "github.com/ipfs/go-ipfs-cmds" |
| 10 | ) |
| 11 | |
| 12 | var MountCmd = &cmds.Command{ |
| 13 | Status: cmds.Experimental, |
| 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 | Kubo compiled with fuse. |
| 20 | |
| 21 | For the latest instructions, please check the project's repository: |
| 22 | http://github.com/ipfs/kubo |
| 23 | https://github.com/ipfs/kubo/blob/master/docs/fuse.md |
| 24 | `, |
| 25 | }, |
| 26 | } |