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
ec64b256
Commit
ec64b256
authored
Mar 24, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added helpful TODOs.
parent
aba4e37d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
18 deletions
+54
-18
fuseops/convert.go
fuseops/convert.go
+54
-18
No files found.
fuseops/convert.go
View file @
ec64b256
...
...
@@ -32,92 +32,128 @@ func Convert(r bazilfuse.Request) (o Op) {
switch
r
.
(
type
)
{
case
*
bazilfuse
.
InitRequest
:
to
:=
&
InitOp
{}
to
:=
&
InitOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
LookUpInodeOp
{}
to
:=
&
LookUpInodeOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
GetInodeAttributesOp
{}
to
:=
&
GetInodeAttributesOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
SetInodeAttributesOp
{}
to
:=
&
SetInodeAttributesOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
ForgetInodeOp
{}
to
:=
&
ForgetInodeOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
MkDirOp
{}
to
:=
&
MkDirOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
CreateFileOp
{}
to
:=
&
CreateFileOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
RmDirOp
{}
to
:=
&
RmDirOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
UnlinkOp
{}
to
:=
&
UnlinkOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
OpenDirOp
{}
to
:=
&
OpenDirOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
ReadDirOp
{}
to
:=
&
ReadDirOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
ReleaseDirHandleOp
{}
to
:=
&
ReleaseDirHandleOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
OpenFileOp
{}
to
:=
&
OpenFileOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
ReadFileOp
{}
to
:=
&
ReadFileOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
WriteFileOp
{}
to
:=
&
WriteFileOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
SyncFileOp
{}
to
:=
&
SyncFileOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
FlushFileOp
{}
to
:=
&
FlushFileOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
case
*
bazilfuse
.
InitRequest
:
to
:=
&
ReleaseFileHandleOp
{}
to
:=
&
ReleaseFileHandleOp
{
//TODO
}
o
=
to
co
=
&
to
.
commonOp
...
...
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