Skip to content

Commit 6e1a455

Browse files
committed
Adjust mount functions for other architechtures.
1 parent 5b9deba commit 6e1a455

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

fuse/node/mount_nofuse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ import (
99
core "github.com/ipfs/kubo/core"
1010
)
1111

12-
func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
12+
func Mount(node *core.IpfsNode, fsdir, nsdir, mfdir string) error {
1313
return errors.New("not compiled in")
1414
}

fuse/node/mount_notsupp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ import (
99
core "github.com/ipfs/kubo/core"
1010
)
1111

12-
func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
12+
func Mount(node *core.IpfsNode, fsdir, nsdir, mfdir string) error {
1313
return errors.New("FUSE not supported on OpenBSD or NetBSD. See #5334 (https://github.com/ipfs/kubo/issues/5334).")
1414
}

fuse/node/mount_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"github.com/ipfs/kubo/core"
55
)
66

7-
func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
7+
func Mount(node *core.IpfsNode, fsdir, nsdir, mfdir string) error {
88
// TODO
99
// currently a no-op, but we don't want to return an error
1010
return nil

0 commit comments

Comments
 (0)