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
Kirill Smelkov
go-fuse
Commits
24d412fa
Commit
24d412fa
authored
Sep 20, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused api methods.
parent
a1859173
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
18 deletions
+0
-18
fuse/api.go
fuse/api.go
+0
-6
fuse/defaultnode.go
fuse/defaultnode.go
+0
-6
fuse/fsops.go
fuse/fsops.go
+0
-6
No files found.
fuse/api.go
View file @
24d412fa
...
...
@@ -28,11 +28,6 @@ type FsNode interface {
Inode
()
*
Inode
SetInode
(
node
*
Inode
)
// RmChild and AddChild run inside the critical section for
// the mutex behind Inode().LockTree().
RmChild
(
name
string
,
child
FsNode
)
AddChild
(
name
string
,
child
FsNode
)
Lookup
(
name
string
,
context
*
Context
)
(
fi
*
os
.
FileInfo
,
node
FsNode
,
code
Status
)
OnForget
()
...
...
@@ -52,7 +47,6 @@ type FsNode interface {
// Files
Create
(
name
string
,
flags
uint32
,
mode
uint32
,
context
*
Context
)
(
file
File
,
fi
*
os
.
FileInfo
,
newNode
FsNode
,
code
Status
)
Open
(
flags
uint32
,
context
*
Context
)
(
file
File
,
code
Status
)
Flush
(
file
File
,
openFlags
uint32
,
context
*
Context
)
(
code
Status
)
OpenDir
(
context
*
Context
)
(
chan
DirEntry
,
Status
)
// XAttrs
...
...
fuse/defaultnode.go
View file @
24d412fa
...
...
@@ -43,12 +43,6 @@ func (me *DefaultFsNode) Inode() *Inode {
func
(
me
*
DefaultFsNode
)
OnForget
()
{
}
func
(
me
*
DefaultFsNode
)
RmChild
(
name
string
,
child
FsNode
)
{
}
func
(
me
*
DefaultFsNode
)
AddChild
(
name
string
,
child
FsNode
)
{
}
func
(
me
*
DefaultFsNode
)
Lookup
(
name
string
,
context
*
Context
)
(
fi
*
os
.
FileInfo
,
node
FsNode
,
code
Status
)
{
return
nil
,
nil
,
ENOSYS
}
...
...
fuse/fsops.go
View file @
24d412fa
...
...
@@ -277,12 +277,6 @@ func (me *FileSystemConnector) Release(header *InHeader, input *ReleaseIn) {
opened
.
WithFlags
.
File
.
Release
()
}
func
(
me
*
FileSystemConnector
)
Flush
(
header
*
InHeader
,
input
*
FlushIn
)
Status
{
node
:=
me
.
toInode
(
header
.
NodeId
)
opened
:=
node
.
mount
.
getOpenedFile
(
input
.
Fh
)
return
node
.
fsInode
.
Flush
(
opened
.
WithFlags
.
File
,
opened
.
WithFlags
.
OpenFlags
,
&
header
.
Context
)
}
func
(
me
*
FileSystemConnector
)
ReleaseDir
(
header
*
InHeader
,
input
*
ReleaseIn
)
{
node
:=
me
.
toInode
(
header
.
NodeId
)
opened
:=
node
.
mount
.
unregisterFileHandle
(
input
.
Fh
,
node
)
...
...
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