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
Kirill Smelkov
go-fuse
Commits
f738f096
Commit
f738f096
authored
Apr 18, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix zipfs package declaration.
parent
bb7f8a9d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
12 deletions
+9
-12
example/multizip/multizip.go
example/multizip/multizip.go
+1
-1
example/unionfs/main.go
example/unionfs/main.go
+3
-6
example/zipfs/main.go
example/zipfs/main.go
+1
-1
zipfs/multizip.go
zipfs/multizip.go
+1
-1
zipfs/multizip_test.go
zipfs/multizip_test.go
+1
-1
zipfs/zipfs.go
zipfs/zipfs.go
+1
-1
zipfs/zipfs_test.go
zipfs/zipfs_test.go
+1
-1
No files found.
example/multizip/multizip.go
View file @
f738f096
...
@@ -2,7 +2,7 @@ package main
...
@@ -2,7 +2,7 @@ package main
import
(
import
(
"github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/fuse"
zipfs
"github.com/hanwen/go-fuse/zipfs"
"github.com/hanwen/go-fuse/zipfs"
"fmt"
"fmt"
"flag"
"flag"
"log"
"log"
...
...
example/unionfs/main.go
View file @
f738f096
...
@@ -18,7 +18,7 @@ func main() {
...
@@ -18,7 +18,7 @@ func main() {
flag
.
Parse
()
flag
.
Parse
()
if
len
(
flag
.
Args
())
<
2
{
if
len
(
flag
.
Args
())
<
2
{
fmt
.
Println
(
"Usage:
\n
main MOUNTPOINT
BASEDIR
"
)
fmt
.
Println
(
"Usage:
\n
main MOUNTPOINT
RW-DIRECTORY RO-DIRECTORY ...
"
)
os
.
Exit
(
2
)
os
.
Exit
(
2
)
}
}
mountpoint
:=
flag
.
Arg
(
0
)
mountpoint
:=
flag
.
Arg
(
0
)
...
@@ -28,12 +28,9 @@ func main() {
...
@@ -28,12 +28,9 @@ func main() {
BranchCacheTTLSecs
:
*
branchcache_ttl
,
BranchCacheTTLSecs
:
*
branchcache_ttl
,
DeletionDirName
:
*
deldirname
,
DeletionDirName
:
*
deldirname
,
}
}
options
:=
unionfs
.
AutoUnionFsOptions
{
UnionFsOptions
:
ufsOptions
,
}
gofs
:=
unionfs
.
NewAutoUnionFs
(
flag
.
Arg
(
1
),
o
ptions
)
ufs
:=
unionfs
.
NewUnionFs
(
flag
.
Args
()[
1
:
],
ufsO
ptions
)
conn
:=
fuse
.
NewPathFileSystemConnector
(
go
fs
)
conn
:=
fuse
.
NewPathFileSystemConnector
(
u
fs
)
mountState
:=
fuse
.
NewMountState
(
conn
)
mountState
:=
fuse
.
NewMountState
(
conn
)
mountState
.
Debug
=
*
debug
mountState
.
Debug
=
*
debug
fmt
.
Printf
(
"Mounting...
\n
"
)
fmt
.
Printf
(
"Mounting...
\n
"
)
...
...
example/zipfs/main.go
View file @
f738f096
...
@@ -2,7 +2,7 @@ package main
...
@@ -2,7 +2,7 @@ package main
import
(
import
(
"github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/fuse"
zipfs
"github.com/hanwen/go-fuse/zipfs"
"github.com/hanwen/go-fuse/zipfs"
"fmt"
"fmt"
"flag"
"flag"
"log"
"log"
...
...
zipfs/multizip.go
View file @
f738f096
package
examplelib
package
zipfs
/*
/*
...
...
zipfs/multizip_test.go
View file @
f738f096
package
examplelib
package
zipfs
import
(
import
(
"github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/fuse"
...
...
zipfs/zipfs.go
View file @
f738f096
package
examplelib
package
zipfs
import
(
import
(
"github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/fuse"
...
...
zipfs/zipfs_test.go
View file @
f738f096
package
examplelib
package
zipfs
import
(
import
(
"github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/fuse"
...
...
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