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
41a725c2
Commit
41a725c2
authored
Aug 01, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #21 from verokarhu/master
disable mount command on windows for now
parents
639d196a
fef46e44
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
+23
-0
cmd/ipfs/mount_unix.go
cmd/ipfs/mount_unix.go
+2
-0
cmd/ipfs/mount_windows.go
cmd/ipfs/mount_windows.go
+19
-0
fuse/readonly/readonly_unix.go
fuse/readonly/readonly_unix.go
+2
-0
No files found.
cmd/ipfs/mount.go
→
cmd/ipfs/mount
_unix
.go
View file @
41a725c2
// +build linux darwin freebsd
package
main
import
(
...
...
cmd/ipfs/mount_windows.go
0 → 100644
View file @
41a725c2
package
main
import
(
"errors"
"github.com/gonuts/flag"
"github.com/jbenet/commander"
)
var
cmdIpfsMount
=
&
commander
.
Command
{
UsageLine
:
"mount"
,
Short
:
"Mount an ipfs read-only mountpoint."
,
Long
:
`Not yet implemented on windows.`
,
Run
:
mountCmd
,
Flag
:
*
flag
.
NewFlagSet
(
"ipfs-mount"
,
flag
.
ExitOnError
),
}
func
mountCmd
(
c
*
commander
.
Command
,
inp
[]
string
)
error
{
return
errors
.
New
(
"mount not yet implemented on windows"
)
}
fuse/readonly/readonly.go
→
fuse/readonly/readonly
_unix
.go
View file @
41a725c2
// A Go mirror of libfuse's hello.c
// +build linux darwin freebsd
package
readonly
import
(
...
...
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