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
60558b93
Commit
60558b93
authored
Jan 24, 2014
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse/nodefs: reorganize read/write in interface ordering.
parent
ec7ef175
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fuse/nodefs/api.go
fuse/nodefs/api.go
+2
-2
No files found.
fuse/nodefs/api.go
View file @
60558b93
...
@@ -83,6 +83,8 @@ type Node interface {
...
@@ -83,6 +83,8 @@ type Node interface {
// directly.
// directly.
Open
(
flags
uint32
,
context
*
fuse
.
Context
)
(
file
File
,
code
fuse
.
Status
)
Open
(
flags
uint32
,
context
*
fuse
.
Context
)
(
file
File
,
code
fuse
.
Status
)
OpenDir
(
context
*
fuse
.
Context
)
([]
fuse
.
DirEntry
,
fuse
.
Status
)
OpenDir
(
context
*
fuse
.
Context
)
([]
fuse
.
DirEntry
,
fuse
.
Status
)
Read
(
file
File
,
dest
[]
byte
,
off
int64
,
context
*
fuse
.
Context
)
(
fuse
.
ReadResult
,
fuse
.
Status
)
Write
(
file
File
,
data
[]
byte
,
off
int64
,
context
*
fuse
.
Context
)
(
written
uint32
,
code
fuse
.
Status
)
// XAttrs
// XAttrs
GetXAttr
(
attribute
string
,
context
*
fuse
.
Context
)
(
data
[]
byte
,
code
fuse
.
Status
)
GetXAttr
(
attribute
string
,
context
*
fuse
.
Context
)
(
data
[]
byte
,
code
fuse
.
Status
)
...
@@ -91,8 +93,6 @@ type Node interface {
...
@@ -91,8 +93,6 @@ type Node interface {
ListXAttr
(
context
*
fuse
.
Context
)
(
attrs
[]
string
,
code
fuse
.
Status
)
ListXAttr
(
context
*
fuse
.
Context
)
(
attrs
[]
string
,
code
fuse
.
Status
)
// Attributes
// Attributes
Read
(
file
File
,
dest
[]
byte
,
off
int64
,
context
*
fuse
.
Context
)
(
fuse
.
ReadResult
,
fuse
.
Status
)
Write
(
file
File
,
data
[]
byte
,
off
int64
,
context
*
fuse
.
Context
)
(
written
uint32
,
code
fuse
.
Status
)
GetAttr
(
out
*
fuse
.
Attr
,
file
File
,
context
*
fuse
.
Context
)
(
code
fuse
.
Status
)
GetAttr
(
out
*
fuse
.
Attr
,
file
File
,
context
*
fuse
.
Context
)
(
code
fuse
.
Status
)
Chmod
(
file
File
,
perms
uint32
,
context
*
fuse
.
Context
)
(
code
fuse
.
Status
)
Chmod
(
file
File
,
perms
uint32
,
context
*
fuse
.
Context
)
(
code
fuse
.
Status
)
Chown
(
file
File
,
uid
uint32
,
gid
uint32
,
context
*
fuse
.
Context
)
(
code
fuse
.
Status
)
Chown
(
file
File
,
uid
uint32
,
gid
uint32
,
context
*
fuse
.
Context
)
(
code
fuse
.
Status
)
...
...
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