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
330c80da
Commit
330c80da
authored
Oct 13, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run gofmt.
parent
d822ee41
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
3 deletions
+5
-3
example/unionfs/main.go
example/unionfs/main.go
+1
-1
fuse/fsops.go
fuse/fsops.go
+1
-1
fuse/handle_test.go
fuse/handle_test.go
+1
-0
fuse/misc.go
fuse/misc.go
+1
-0
fuse/misc_test.go
fuse/misc_test.go
+1
-1
No files found.
example/unionfs/main.go
View file @
330c80da
fuse/fsops.go
View file @
330c80da
fuse/handle_test.go
View file @
330c80da
...
...
@@ -6,6 +6,7 @@ import (
"testing"
"unsafe"
)
var
_
=
log
.
Println
func
markSeen
(
t
*
testing
.
T
,
substr
string
)
{
...
...
fuse/misc.go
View file @
330c80da
...
...
@@ -161,6 +161,7 @@ func VerboseTest() bool {
}
const
AT_FDCWD
=
-
100
func
Linkat
(
fd1
int
,
n1
string
,
fd2
int
,
n2
string
)
int
{
b1
:=
syscall
.
StringBytePtr
(
n1
)
b2
:=
syscall
.
StringBytePtr
(
n2
)
...
...
fuse/misc_test.go
View file @
330c80da
...
...
@@ -28,7 +28,7 @@ func TestOsErrorToErrno(t *testing.T) {
func
TestLinkAt
(
t
*
testing
.
T
)
{
dir
,
_
:=
ioutil
.
TempDir
(
""
,
"go-fuse"
)
ioutil
.
WriteFile
(
dir
+
"/a"
,
[]
byte
{
42
},
0644
)
ioutil
.
WriteFile
(
dir
+
"/a"
,
[]
byte
{
42
},
0644
)
f
,
_
:=
os
.
Open
(
dir
)
e
:=
Linkat
(
f
.
Fd
(),
"a"
,
f
.
Fd
(),
"b"
)
if
e
!=
0
{
...
...
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