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
e59dbd14
Commit
e59dbd14
authored
Jul 27, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Killed methods.
parent
56b1f10c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
34 deletions
+0
-34
fuseops/ops.go
fuseops/ops.go
+0
-34
No files found.
fuseops/ops.go
View file @
e59dbd14
...
...
@@ -15,7 +15,6 @@
package
fuseops
import
(
"fmt"
"os"
"time"
)
...
...
@@ -48,11 +47,6 @@ type LookUpInodeOp struct {
Entry
ChildInodeEntry
}
func
(
o
*
LookUpInodeOp
)
ShortDesc
()
(
desc
string
)
{
desc
=
fmt
.
Sprintf
(
"LookUpInode(parent=%v, name=%q)"
,
o
.
Parent
,
o
.
Name
)
return
}
// Refresh the attributes for an inode whose ID was previously returned in a
// LookUpInodeOp. The kernel sends this when the FUSE VFS layer's cache of
// inode attributes is stale. This is controlled by the AttributesExpiration
...
...
@@ -68,14 +62,6 @@ type GetInodeAttributesOp struct {
AttributesExpiration
time
.
Time
}
func
(
o
*
GetInodeAttributesOp
)
DebugString
()
string
{
return
fmt
.
Sprintf
(
"Inode: %d, Exp: %v, Attr: %s"
,
o
.
Inode
,
o
.
AttributesExpiration
,
o
.
Attributes
.
DebugString
())
}
// Change attributes for an inode.
//
// The kernel sends this for obvious cases like chmod(2), and for less obvious
...
...
@@ -174,11 +160,6 @@ type MkDirOp struct {
Entry
ChildInodeEntry
}
func
(
o
*
MkDirOp
)
ShortDesc
()
(
desc
string
)
{
desc
=
fmt
.
Sprintf
(
"MkDir(parent=%v, name=%q)"
,
o
.
Parent
,
o
.
Name
)
return
}
// Create a file inode and open it.
//
// The kernel sends this when the user asks to open a file with the O_CREAT
...
...
@@ -214,11 +195,6 @@ type CreateFileOp struct {
Handle
HandleID
}
func
(
o
*
CreateFileOp
)
ShortDesc
()
(
desc
string
)
{
desc
=
fmt
.
Sprintf
(
"CreateFile(parent=%v, name=%q)"
,
o
.
Parent
,
o
.
Name
)
return
}
// Create a symlink inode. If the name already exists, the file system should
// return EEXIST (cf. the notes on CreateFileOp and MkDirOp).
type
CreateSymlinkOp
struct
{
...
...
@@ -239,16 +215,6 @@ type CreateSymlinkOp struct {
Entry
ChildInodeEntry
}
func
(
o
*
CreateSymlinkOp
)
ShortDesc
()
(
desc
string
)
{
desc
=
fmt
.
Sprintf
(
"CreateSymlink(parent=%v, name=%q, target=%q)"
,
o
.
Parent
,
o
.
Name
,
o
.
Target
)
return
}
////////////////////////////////////////////////////////////////////////
// Unlinking
////////////////////////////////////////////////////////////////////////
...
...
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