Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
c5f887dc
Commit
c5f887dc
authored
Apr 01, 2019
by
Łukasz Magiera
Committed by
Steven Allen
Apr 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse: fix govet warning
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
52992990
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
fuse/node/mount_nofuse.go
fuse/node/mount_nofuse.go
+2
-0
fuse/node/mount_unix.go
fuse/node/mount_unix.go
+2
-0
No files found.
fuse/node/mount_nofuse.go
View file @
c5f887dc
...
...
@@ -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"
)
}
fuse/node/mount_unix.go
View file @
c5f887dc
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment