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
296d9cbc
Commit
296d9cbc
authored
Jul 24, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declared internal ops.
parent
72906b75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
fuseops/ops.go
fuseops/ops.go
+29
-0
No files found.
fuseops/ops.go
View file @
296d9cbc
...
...
@@ -917,3 +917,32 @@ func (o *ReadSymlinkOp) kernelResponse() (msg []byte) {
o
.
bfReq
.
Respond
(
o
.
Target
)
return
}
////////////////////////////////////////////////////////////////////////
// Internal
////////////////////////////////////////////////////////////////////////
// TODO(jacobsa): Untangle the way ops work and move these to an internal
// package, along with Convert. I think all of the behavior wants to be on
// Connection. Ops have only String methods. Connection.ReadRequest returns an
// interace{} and a context. If we must restore debug logging later, we can
// stuff an op ID in that context and add a Connection.Logf method.
// Do not use this struct directly. See the TODO in fuseops/ops.go.
type
InternalStatFSOp
struct
{
commonOp
}
func
(
o
*
InternalStatFSOp
)
kernelResponse
()
(
msg
[]
byte
)
{
panic
(
"TODO"
)
}
// Do not use this struct directly. See the TODO in fuseops/ops.go.
type
InternalInterruptOp
struct
{
commonOp
FuseID
uint64
}
func
(
o
*
InternalInterruptOp
)
kernelResponse
()
(
msg
[]
byte
)
{
panic
(
"Shouldn't get here."
)
}
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