Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jacobsa-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
jacobsa-fuse
Commits
2167bec8
Commit
2167bec8
authored
Mar 24, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed switch cases.
parent
ec64b256
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
63 deletions
+12
-63
fuseops/convert.go
fuseops/convert.go
+12
-63
No files found.
fuseops/convert.go
View file @
2167bec8
...
...
@@ -38,125 +38,74 @@ func Convert(r bazilfuse.Request) (o Op) {
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
Init
Request
:
case
*
bazilfuse
.
Lookup
Request
:
to
:=
&
LookUpInodeOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
Init
Request
:
case
*
bazilfuse
.
Getattr
Request
:
to
:=
&
GetInodeAttributesOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
Init
Request
:
case
*
bazilfuse
.
Setattr
Request
:
to
:=
&
SetInodeAttributesOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
ForgetInodeOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
case
*
bazilfuse
.
MkdirRequest
:
to
:=
&
MkDirOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
Init
Request
:
case
*
bazilfuse
.
Create
Request
:
to
:=
&
CreateFileOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
RmDirOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
UnlinkOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
OpenDirOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
ReadDirOp
{
case
*
bazilfuse
.
RemoveRequest
:
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
ReleaseDirHandleOp
{
case
*
bazilfuse
.
OpenRequest
:
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
OpenFileOp
{
case
*
bazilfuse
.
ReadRequest
:
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
ReadFileOp
{
case
*
bazilfuse
.
ReleaseRequest
:
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
Init
Request
:
case
*
bazilfuse
.
Write
Request
:
to
:=
&
WriteFileOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
Init
Request
:
case
*
bazilfuse
.
Fsync
Request
:
to
:=
&
SyncFileOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
Init
Request
:
case
*
bazilfuse
.
Flush
Request
:
to
:=
&
FlushFileOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
ReleaseFileHandleOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
default
:
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