diff --git a/fuse/node/mount_nofuse.go b/fuse/node/mount_nofuse.go index 7f824ef3e..92f61f809 100644 --- a/fuse/node/mount_nofuse.go +++ b/fuse/node/mount_nofuse.go @@ -8,6 +8,8 @@ import ( core "github.com/ipfs/go-ipfs/core" ) +type errNeedFuseVersion error // used in tests, needed in OSX + func Mount(node *core.IpfsNode, fsdir, nsdir string) error { return errors.New("not compiled in") } diff --git a/fuse/node/mount_unix.go b/fuse/node/mount_unix.go index 8fee86947..3b9cb5c3a 100644 --- a/fuse/node/mount_unix.go +++ b/fuse/node/mount_unix.go @@ -30,6 +30,8 @@ var platformFuseChecks = func(*core.IpfsNode) error { return nil } +type errNeedFuseVersion error // used in tests, needed in OSX + func Mount(node *core.IpfsNode, fsdir, nsdir string) error { // check if we already have live mounts. // if the user said "Mount", then there must be something wrong.