Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Levin Zimmermann
go-fuse
Commits
8aec84bc
Commit
8aec84bc
authored
Dec 06, 2010
by
Ivan Krasin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates: path.Rooted was committed as path.IsAbs; Makefile templated has been changed the location
parent
54857599
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fuse/Makefile
fuse/Makefile
+1
-1
fuse/mount.go
fuse/mount.go
+1
-1
No files found.
fuse/Makefile
View file @
8aec84bc
# Use "gomake install" to build and install this package.
# Use "gomake install" to build and install this package.
include
$(GOROOT)/src/Make.
$(GOARCH)
include
$(GOROOT)/src/Make.
inc
TARG
=
github.com/krasin/go-fuse-zip/fuse
TARG
=
github.com/krasin/go-fuse-zip/fuse
...
...
fuse/mount.go
View file @
8aec84bc
...
@@ -24,7 +24,7 @@ func mount(mountPoint string) (f *os.File, m mounted, err os.Error) {
...
@@ -24,7 +24,7 @@ func mount(mountPoint string) (f *os.File, m mounted, err os.Error) {
defer
remote
.
Close
()
defer
remote
.
Close
()
mountPoint
=
path
.
Clean
(
mountPoint
)
mountPoint
=
path
.
Clean
(
mountPoint
)
if
!
path
.
Rooted
(
mountPoint
)
{
if
!
path
.
IsAbs
(
mountPoint
)
{
cwd
,
err
:=
os
.
Getwd
()
cwd
,
err
:=
os
.
Getwd
()
if
err
!=
nil
{
if
err
!=
nil
{
return
return
...
...
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