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
7f077882
Commit
7f077882
authored
Aug 12, 2010
by
Ivan Krasin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Started implementation of ReadDir and decided that I need to think a bit
parent
f1de3e67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
fuse/fuse.go
fuse/fuse.go
+10
-0
No files found.
fuse/fuse.go
View file @
7f077882
...
@@ -153,6 +153,16 @@ func handle(fs FileSystem, in_data []byte, toW chan [][]byte, errors chan os.Err
...
@@ -153,6 +153,16 @@ func handle(fs FileSystem, in_data []byte, toW chan [][]byte, errors chan os.Err
open_out
.
Fh
=
1
open_out
.
Fh
=
1
out
=
open_out
out
=
open_out
case
FUSE_READDIR
:
in
:=
new
(
ReadIn
)
err
=
binary
.
Read
(
r
,
binary
.
LittleEndian
,
in
)
if
err
!=
nil
{
break
}
fmt
.
Printf
(
"FUSE_READDIR: %v
\n
"
,
in
)
// Here I need to stop and to think a bit.
os
.
Exit
(
1
)
default
:
default
:
errors
<-
os
.
NewError
(
fmt
.
Sprintf
(
"Unsupported OpCode: %d"
,
h
.
Opcode
))
errors
<-
os
.
NewError
(
fmt
.
Sprintf
(
"Unsupported OpCode: %d"
,
h
.
Opcode
))
result
=
EIO
result
=
EIO
...
...
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